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:42] – [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 460: Line 464:
  
 ^1^ An http URL. ^2^ Both commands are used on one line with a separator: '% webfs; abaco'. ^3^ Another way to run Abaco. ^1^ An http URL. ^2^ Both commands are used on one line with a separator: '% webfs; abaco'. ^3^ Another way to run Abaco.
 +
 +== mothra
 +
 +|===
 +|Mothra https://wiki.sdf.org/doku.php?id=vps_-_9front#mothra
 +|===
 +
 +== man
 +
 +Editor reference:
 +
 +|===
 +|Editors: https://en.wikipedia.org/wiki/List_of_Plan_9_applications#Editors[List of Plan 9 applications - Wikipedia]
 +|===
 +
 +|===
 +|https://wiki.sdf.org/doku.php?id=vps_-$$_$$plan9front_-_acme_sam_abaco_mothra_and_man#acme[acme] interactive text editor and shell
 +|https://wiki.sdf.org/doku.php?id=vps_-$$_$$plan9front_-_acme_sam_abaco_mothra_and_man#ed[ed] text editor
 +|https://wiki.sdf.org/doku.php?id=vps_-$$_$$plan9front_-_acme_sam_abaco_mothra_and_man#sam[sam] screen editor with structural regular expressions
 +|===
 +
 +|===
 +|Sam, Ed, Acme https://wiki.sdf.org/doku.php?id=vps_-_9front#editors
 +|===
 +
 +|===
 +|Plan 9 Rc Survival Guide http://sdf.org/?tutorials/Plan_9_rc
 +|===
 +
 +Browser reference:
 +
 +|===
 +|Mothra https://wiki.sdf.org/doku.php?id=vps_-_9front#mothra
 +|===
 +
 +|===
 +|Netsurf usage: netsurf [-cudv] [url]
 +|===
  
 </file> </file>
Line 468: 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>