@@ -1,109 +0,0 @@
1−% Pandoc examples
2−
3−To see the output created by each of the commands below,
4−click on the name of the output file:
5−
6−1. HTML fragment:
7−
8−@ pandoc @@README@@ -o @@example1.html@@
9−
10−2. Standalone HTML file:
11−
12−@ pandoc -s @@README@@ -o @@example2.html@@
13−
14−3. HTML with smart quotes, table of contents, CSS, and custom footer:
15−
16−@ pandoc -s -S --toc -c @@pandoc.css@@ -A @@footer.html@@ @@README@@ -o @@example3.html@@
17−
18−4. LaTeX:
19−
20−@ pandoc -s @@README@@ -o @@example4.tex@@
21−
22−5. From LaTeX to markdown:
23−
24−@ pandoc -s @@example4.tex@@ -o @@example5.text@@
25−
26−6. reStructuredText:
27−
28−@ pandoc -s -w rst --toc @@README@@ -o @@example6.text@@
29−
30−7. Rich text format (RTF):
31−
32−@ pandoc -s @@README@@ -o @@example7.rtf@@
33−
34−8. S5 HTML slide show (all in one file):
35−
36−@ pandoc -s -m -i -w s5 @@S5DEMO@@ -o @@example8.html@@
37−
38−9. DocBook XML:
39−
40−@ pandoc -s -S -w docbook @@README@@ -o @@example9.db@@
41−
42− Chunked XHTML via DocBook and [xmlto]:
43−
44−@ xmlto xhtml -m @@config.xsl@@ @@example9.db@@ -o @@example9/@@
45−
46−10. Man page:
47−
48−@ pandoc -s -w man @@pandoc.1.md@@ -o @@example10.1@@
49−
50−11. ConTeXt:
51−
52−@ pandoc -s -w context @@README@@ -o @@example11.tex@@
53−
54− PDF via pandoc and ConTeXt's `texexec`:
55−
56−@ texexec --pdf @@example11.tex@@ # produces @@example11.pdf@@
57−
58−12. Converting a web page to markdown:
59−
60−@ pandoc -s -r html @@http://www.gnu.org/software/make/@@ -o @@example12.text@@
61−
62−13. From markdown to PDF:
63−
64−@ markdown2pdf @@README@@ -o @@example13.pdf@@
65−
66−14. PDF with numbered sections and a custom LaTeX header:
67−
68−@ markdown2pdf -N --template=@@mytemplate.tex@@ --variable version=1.4 @@README@@ --xetex --toc -o @@example14.pdf@@
69−
70−[xmlto]: http://cyberelk.net/tim/xmlto/
71−
72−15. A wiki program using [Happstack](http://happstack.com) and pandoc:
73− [gitit](http://gitit.net)
74−
75−16. A web application that uses pandoc to convert web pages to any of eight different
76− formats: [html2x](html2x.html).
77−
78−17. TeX math in HTML:
79−
80−@ pandoc @@math.text@@ -s -o @@mathDefault.html@@
81−@ pandoc @@math.text@@ -s --mathml -o @@mathMathML.html@@
82−@ pandoc @@math.text@@ -s -m -o @@mathLaTeXMathML.html@@
83−@ pandoc @@math.text@@ -s --mimetex=/cgi-bin/mimetex.cgi -o @@mathMimetex.html@@
84−@ pandoc @@math.text@@ -s --gladtex -o mathGladtex.htex
85−@ gladtex @@mathGladtex.htex@@ # produces @@mathGladtex.html@@
86−
87−18. Syntax highlighting of delimited code blocks:
88−
89−@ pandoc @@code.text@@ -s -o @@example18.html@@
90−
91−19. GNU Texinfo, converted to info, HTML, and PDF formats:
92−
93−@ pandoc @@README@@ -s -o @@example19.texi@@
94−@ makeinfo @@example19.texi@@ -o @@example19.info@@
95−@ makeinfo @@example19.texi@@ --html -o @@example19@@
96−@ texi2pdf @@example19.texi@@ # produces @@example19.pdf@@
97−
98−20. OpenDocument XML:
99−
100−@ pandoc @@README@@ -s -w opendocument -o @@example20.xml@@
101−
102−21. ODT (OpenDocument Text, readable by OpenOffice):
103−
104−@ pandoc @@README@@ -o @@example21.odt@@
105−
106−22. MediaWiki markup:
107−
108−@ pandoc -s -S -w mediawiki --toc @@README@@ -o @@example22.wiki@@
109−