playground:misc:asciidoc_snippet
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
playground:misc:asciidoc_snippet [2022/04/28 15:47] – [asciidoc table] hc9 | playground:misc:asciidoc_snippet [2022/05/01 18:51] – [Converter] hc9 | ||
---|---|---|---|
Line 184: | Line 184: | ||
</ | </ | ||
- | * Convert the //ht802.html// file to a // | + | * Convert the //ht802.adoc// file to a // |
< | < | ||
- | $ pandoc -f html -t dokuwiki | + | $ asciidoc -b dockbook45 -s ht820.adoc |
+ | $ pandoc -f docbook | ||
</ | </ | ||
+ | |||
+ | |Try **pandoc**! (link); [[https:// | ||
+ | |Learn **LaTeX** (link); [[https:// | ||
==== Editing ==== | ==== Editing ==== | ||
Line 210: | Line 214: | ||
---- | ---- | ||
- | % 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:: | image:: | ||
Line 329: | Line 333: | ||
__1__.) From a Plan 9 Rio rc prompt. | __1__.) From a Plan 9 Rio rc prompt. | ||
+ | |||
+ | == sam | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | Sam is a text editor. While the cursor is over the sam window, press the right button of your mouse and drag the cursor over the file name. Release the right mouse button once the cursor is over the file name. The cursor pointer will change to a square. Press the right button, while the square cursor is over the lower panel, to load the file in the lower panel. | ||
+ | |||
+ | image:: | ||
+ | |||
+ | ---- | ||
+ | % sam / | ||
+ | ---- | ||
+ | |||
+ | A few words about (**w**) writing the file, and how to (**q**) quit " | ||
+ | |||
+ | Sam uses it's own cut/paste buffer. Exchange it with Rio's cut/paste buffer by using the < | ||
+ | |||
+ | The following edit ('% sam -d') will work from the https:// | ||
+ | |||
+ | ---- | ||
+ | % mkdir samlearn | ||
+ | % cd samlearn | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % cp / | ||
+ | % sam -d local2 | ||
+ | -. local2 | ||
+ | /ip= | ||
+ | "Press the Carriage return, following the line output." | ||
+ | s/ip=/#ip= | ||
+ | $+1 | ||
+ | a | ||
+ | ip=YOUR_IP sys=plan9 dom=plan9 dns=205.166.94.20 | ||
+ | . | ||
+ | w | ||
+ | q | ||
+ | % | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % cp / | ||
+ | % sam -d termrc.local2 | ||
+ | -. termrc.local2 | ||
+ | $+1 | ||
+ | a | ||
+ | ip/ipconfig -g 205.166.94.1 ether /net/ether0 YOUR_IP 255.255.255.0 | ||
+ | ndb/cs | ||
+ | ndb/dns -r | ||
+ | . | ||
+ | w | ||
+ | q | ||
+ | % | ||
+ | ---- | ||
+ | |||
+ | |=== | ||
+ | h|**Command**|**Option**|**Quick Reference** | ||
+ | |SAM|' | ||
+ | |=== | ||
+ | |||
+ | == ed | ||
+ | |||
+ | Ed is a text editor, and similar to https:// | ||
+ | |||
+ | ---- | ||
+ | % cd samtest | ||
+ | % cp / | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % ed local-1ed | ||
+ | 291 | ||
+ | /ip= | ||
+ | ip=127.0.0.1 sys=localhost dom=localhost | ||
+ | s/ip=/#ip= | ||
+ | # | ||
+ | $ | ||
+ | # | ||
+ | a | ||
+ | ip=YOUR_IP sys=plan9 dom=plan9 dns=205.166.94.20 | ||
+ | . | ||
+ | w | ||
+ | 341 | ||
+ | q | ||
+ | % | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % cp / | ||
+ | % ed termrc.local-1ed | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % ed termrc.local-1ed | ||
+ | 424 | ||
+ | $ | ||
+ | cpu=CP | ||
+ | a | ||
+ | ip/ipconfig -g 205.166.94.1 ether /net/ether0 YOUR_IP 255.255.255.0 | ||
+ | ndb/cs | ||
+ | ndb/dns -r | ||
+ | . | ||
+ | w | ||
+ | 510 | ||
+ | q | ||
+ | % | ||
+ | ---- | ||
+ | |||
+ | |=== | ||
+ | h|**Command**|**Title**|**Quick Reference** | ||
+ | |ED|ed Cheat Sheet|http:// | ||
+ | |=== | ||
+ | |||
+ | == abaco | ||
+ | |||
+ | You can use http:// | ||
+ | |||
+ | image:: | ||
+ | |||
+ | ---- | ||
+ | % touch / | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % webfs | ||
+ | % abaco | ||
+ | ---- | ||
+ | |||
+ | When abaco starts, you can go to a webpage by clicking " | ||
+ | |||
+ | ^1^ An http URL. ^2^ Both commands are used on one line with a separator: '% webfs; abaco' | ||
+ | |||
+ | == mothra | ||
+ | |||
+ | |=== | ||
+ | |Mothra https:// | ||
+ | |=== | ||
+ | |||
+ | == man | ||
+ | |||
+ | Editor reference: | ||
+ | |||
+ | |=== | ||
+ | |Editors: https:// | ||
+ | |=== | ||
+ | |||
+ | |=== | ||
+ | |https:// | ||
+ | |https:// | ||
+ | |https:// | ||
+ | |=== | ||
+ | |||
+ | |=== | ||
+ | |Sam, Ed, Acme https:// | ||
+ | |=== | ||
+ | |||
+ | |=== | ||
+ | |Plan 9 Rc Survival Guide http:// | ||
+ | |=== | ||
+ | |||
+ | Browser reference: | ||
+ | |||
+ | |=== | ||
+ | |Mothra https:// | ||
+ | |=== | ||
+ | |||
+ | |=== | ||
+ | |Netsurf usage: netsurf [-cudv] [url] | ||
+ | |=== | ||
</ | </ | ||
Line 337: | Line 510: | ||
$ asciidoc -s acme_table.adoc | $ asciidoc -s acme_table.adoc | ||
$ links acme_table.html | $ links acme_table.html | ||
+ | </ | ||
+ | |||
+ | * Convert the // | ||
+ | |||
+ | < | ||
+ | $ asciidoc -b dockbook45 -s acme_table.adoc | ||
+ | $ pandoc -f docbook -t dokuwiki acme_table.xml -o acme_table.txt | ||
+ | </ | ||
+ | |||
+ | ==== tidy ==== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | * Use ' | ||
+ | * Backup the // | ||
+ | |||
+ | < | ||
+ | $ tidy -help | ||
+ | $ tidy -f errs.txt -m acme_table.html | ||
</ | </ | ||