pandoc/web/demos
fiddlosopher a648592dc2 Changes to the website:
+ Mentioned ConTeXt writer in general description.
+ Added two demos involving the ConTeXt writer.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@721 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-15 03:14:05 +00:00

72 lines
1.5 KiB
Text

% Pandoc examples
To see the output created by each of the commands below,
click on the name of the output file:
1. HTML fragment:
@ pandoc README -o example1.html
2. Standalone HTML file:
@ pandoc -s README -o example2.html
3. HTML with smart quotes, table of contents, CSS, and custom footer:
@ pandoc -s -S --toc -c pandoc.css -A footer.html README -o example3.html
4. LaTeX:
@ pandoc -s README -o example4.tex
5. From LaTeX to markdown:
@ pandoc -s example4.tex -o example5.text
6. reStructuredText:
@ pandoc -s -w rst --toc README -o example6.text
7. Rich text format (RTF):
@ pandoc -s README -o example7.rtf
8. S5 HTML slide show (all in one file):
@ pandoc -s -m -i -w s5 S5DEMO -o example8.html
9. DocBook XML:
@ pandoc -s -S -w docbook README -o example9.db
10. Chunked XHTML via DocBook and [xmlto]:
@ xmlto xhtml -m config.xsl example9.db -o example10/
11. Man page:
@ pandoc -s -w man pandoc.1.md -o example11.1
12. ConTeXt:
@ pandoc -s -S -w context README -o example12.tex
13. PDF via pandoc and ConTeXt's `texexec`:
@ texexec --pdf example12.tex --result example13.pdf
14. Converting a web page to markdown:
@ html2markdown http://www.gnu.org/software/make/ -o example14.text
15. From markdown to PDF:
@ markdown2pdf README -o example15.pdf
16. PDF with numbered sections and a custom LaTeX header:
@ markdown2pdf -N -C myheader.tex README -o example16.pdf
[xmlto]: http://cyberelk.net/tim/xmlto/
[docbook2odf]: http://open.comsultia.com/docbook2odf/