git.iko.soy/typeable/pandoc
on master help sign in
Changes to the website:
a648592fiddlosopher
web/demos+14−6
@@ -47,17 +47,25 @@ click on the name of the output file:
47
47
48@ pandoc -s -w man pandoc.1.md -o example11.1
48@ pandoc -s -w man pandoc.1.md -o example11.1
49
49
50−12. Converting a web page to markdown:
50+12. ConTeXt:
51
51
52−@ html2markdown http://www.gnu.org/software/make/ -o example12.text
52+@ pandoc -s -S -w context README -o example12.tex
53
53
54−13. From markdown to PDF:
54+13. PDF via pandoc and ConTeXt's `texexec`:
55
55
56−@ markdown2pdf README -o example13.pdf
56+@ texexec --pdf example12.tex --result example13.pdf
57
57
58−14. PDF with numbered sections and a custom LaTeX header:
58+14. Converting a web page to markdown:
59
59
60+@ html2markdown http://www.gnu.org/software/make/ -o example14.text
61+
62+15. From markdown to PDF:
63+
64+@ markdown2pdf README -o example15.pdf
65+
66+16. PDF with numbered sections and a custom LaTeX header:
67+
60−@ markdown2pdf -N -C myheader.tex README -o example14.pdf
68+@ markdown2pdf -N -C myheader.tex README -o example16.pdf
61
69
62[xmlto]: http://cyberelk.net/tim/xmlto/
70[xmlto]: http://cyberelk.net/tim/xmlto/
63[docbook2odf]: http://open.comsultia.com/docbook2odf/
71[docbook2odf]: http://open.comsultia.com/docbook2odf/
web/index.txt+5−4
@@ -5,15 +5,15 @@
5Pandoc is a [Haskell] library for converting from one markup format
5Pandoc is a [Haskell] library for converting from one markup format
6to another, and a command-line tool that uses this library. It can read
6to another, and a command-line tool that uses this library. It can read
7[markdown] and (subsets of) [reStructuredText], [HTML], and [LaTeX],
7[markdown] and (subsets of) [reStructuredText], [HTML], and [LaTeX],
8−and it can write [markdown], [reStructuredText], [HTML], [LaTeX], [RTF],
8+and it can write [markdown], [reStructuredText], [HTML], [LaTeX], [ConTeXt],
9−[DocBook XML], [groff man], and [S5] HTML slide shows.
9+[RTF], [DocBook XML], [groff man], and [S5] HTML slide shows.
10
10
11- A real markdown parser, not based on regex substitutions.
11- A real markdown parser, not based on regex substitutions.
12- Modular design, using separate writers and readers for each
12- Modular design, using separate writers and readers for each
13 supported format, for easy extensibility.
13 supported format, for easy extensibility.
14- [More accurate] and [faster], in many cases, than `Markdown.pl`.
14- [More accurate] and [faster], in many cases, than `Markdown.pl`.
15−- Multiple output formats--HTML, Docbook XML, LaTeX, reStructuredText,
15+- Multiple output formats--HTML, Docbook XML, LaTeX, ConTeXt,
16− RTF, groff man pages, S5 slide shows--generated natively,
16+ reStructuredText, RTF, groff man pages, S5 slide shows--generated natively,
17 with no XSLT postprocessing.
17 with no XSLT postprocessing.
18- Converts *to* markdown from HTML, LaTeX, and reStructuredText.
18- Converts *to* markdown from HTML, LaTeX, and reStructuredText.
19- Unicode support.
19- Unicode support.
@@ -117,6 +117,7 @@ kind.
117[S5]: http://meyerweb.com/eric/tools/s5/
117[S5]: http://meyerweb.com/eric/tools/s5/
118[HTML]: http://www.w3.org/TR/html40/
118[HTML]: http://www.w3.org/TR/html40/
119[LaTeX]: http://www.latex-project.org/
119[LaTeX]: http://www.latex-project.org/
120+[ConTeXt]: http://www.pragma-ade.nl/
120[RTF]: http://en.wikipedia.org/wiki/Rich_Text_Format
121[RTF]: http://en.wikipedia.org/wiki/Rich_Text_Format
121[DocBook XML]: http://www.docbook.org/
122[DocBook XML]: http://www.docbook.org/
122[groff man]: http://developer.apple.com/DOCUMENTATION/Darwin/Reference/ManPages/man7/groff_man.7.html
123[groff man]: http://developer.apple.com/DOCUMENTATION/Darwin/Reference/ManPages/man7/groff_man.7.html