User Tools

Site Tools


playground:misc:asciidoc_snippet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
playground:misc:asciidoc_snippet [2022/04/28 16:55] – [asciidoc table] hc9playground:misc:asciidoc_snippet [2022/05/01 18:51] – [Converter] hc9
Line 184: Line 184:
 </code> </code>
  
-  * Convert the //ht802.html// file to a //dokuwiki// txt file. :!: Needs work/review.+  * Convert the //ht802.adoc// file to a //dokuwiki// txt file.
  
 <code> <code>
-$ pandoc -f html -t dokuwiki ht802.html -o ht802.txt+$ asciidoc -b dockbook45 -s ht820.adoc 
 +$ pandoc -f docbook -t dokuwiki ht820.xml -o ht820.txt
 </code> </code>
 +
 +|Try **pandoc**! (link); [[https://pandoc.org/try/?text=&from=docbook&to=latex&standalone=0]]|
 +|Learn **LaTeX** (link); [[https://www.learnlatex.org/en]]|
  
 ==== Editing ==== ==== Editing ====
Line 210: Line 214:
  
 ---- ----
-% acme+  % acme
 ---- ----
  
Line 306: Line 310:
 A brief mention of acme, for those who are attending the SDF Plan 9 Boot Camp. A brief mention of acme, for those who are attending the SDF Plan 9 Boot Camp.
  
----- +|=== 
-% acme +|% acme 
-----+|===
  
 image::https://wiki.sdf.org/lib/exe/fetch.php?media=plan9-acme-1.png[alt="plan9-acme-1",width=600] image::https://wiki.sdf.org/lib/exe/fetch.php?media=plan9-acme-1.png[alt="plan9-acme-1",width=600]
Line 472: Line 476:
  
 |=== |===
-Editors: https://en.wikipedia.org/wiki/List_of_Plan_9_applications#Editors[List of Plan 9 applications - Wikipedia]+|Editors: https://en.wikipedia.org/wiki/List_of_Plan_9_applications#Editors[List of Plan 9 applications - Wikipedia]
 |=== |===
  
Line 506: Line 510:
 $ asciidoc -s acme_table.adoc $ asciidoc -s acme_table.adoc
 $ links acme_table.html $ links acme_table.html
 +</code>
 +
 +  * Convert the //acme_table.adoc// file to a //dokuwiki// txt file.
 +
 +<code>
 +$ asciidoc -b dockbook45 -s acme_table.adoc
 +$ pandoc -f docbook -t dokuwiki acme_table.xml -o acme_table.txt
 +</code>
 +
 +==== tidy ====
 +
 +[[https://www.w3.org/People/Raggett/tidy|Clean up your Web pages with HTML TIDY]]
 +
 +  * Use 'tidy' to modify the //acme_table.html// file (for practice).
 +  * Backup the //acme_table.html// file before proceeding.
 +
 +<code>
 +$ tidy -help
 +$ tidy -f errs.txt -m acme_table.html
 </code> </code>