git.iko.soy/typeable/pandoc
on master help sign in
Removed odf demo from website Examples page. (docbook2odf is buggy
9a7bfb9fiddlosopher
web/demos+10−14
@@ -7,13 +7,13 @@ click on the name of the output file:
7
7
8@ pandoc README -o example1.html
8@ pandoc README -o example1.html
9
9
10−2. Standalone HTML file with table of contents:
10+2. Standalone HTML file:
11
11
12−@ pandoc -s --toc README -o example2.html
12+@ pandoc -s README -o example2.html
13
13
14−3. HTML with smart quotes, CSS, and custom header and footer:
14+3. HTML with smart quotes, table of contents, CSS, and custom header and footer:
15
15
16−@ pandoc -s -S -c main.css -B header.html -A footer.html README -o example3.html
16+@ pandoc -s -S --toc -c main.css -B header.html -A footer.html README -o example3.html
17
17
184. LaTeX:
184. LaTeX:
19
19
@@ -41,25 +41,21 @@ click on the name of the output file:
41
41
4210. Chunked XHTML via DocBook and [xmlto]:
4210. Chunked XHTML via DocBook and [xmlto]:
43
43
44−@ xmlto -m config.xsl xhtml example9.db -o example10/
44+@ xmlto xhtml -m config.xsl example9.db -o example10/
45
45
46−11. ODF (open document format) via DocBook and [docbook2odf]:
46+11. Man page:
47
47
48−@ docbook2odf example9.db --output-file example11.odf
48+@ pandoc -s -w man pandoc.1.md -o example11.1
49
49
50−12. Man page:
51−
52−@ pandoc -s -w man pandoc.1.md -o pandoc.1
53−
54−13. Converting a web page to markdown:
50+12. Converting a web page to markdown:
55
51
56@ html2markdown http://www.gnu.org/software/make/ -o example12.text
52@ html2markdown http://www.gnu.org/software/make/ -o example12.text
57
53
58−14. From markdown to PDF:
54+13. From markdown to PDF:
59
55
60@ markdown2pdf README -o example13.pdf
56@ markdown2pdf README -o example13.pdf
61
57
62−15. PDF with numbered sections and a custom LaTeX header:
58+14. PDF with numbered sections and a custom LaTeX header:
63
59
64@ markdown2pdf -N -C myheader.tex README -o example14.pdf
60@ markdown2pdf -N -C myheader.tex README -o example14.pdf
65
61