git.iko.soy/typeable/pandoc
on master help sign in
Changes to website:

+ Makefile: rebuild examples if 'demos' changes + New syntax for docbook2odf example + New --toc examples for HTML and RST git-svn-id: https://pandoc.googlecode.com/svn/trunk@674 788f1e2b-df1e-0410-8736-df70ead52e1b

commit7bbb381a4728d762a39c6105e7f396df2542427e authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateWed 11 Jul 2007, 07:35 (19 years ago) parentdfdcec7
2 files changed+5−5
web/Makefile+1−1 web/demos+4−4
web/Makefile+1−1
@@ -10,7 +10,7 @@ clean:
1010 for file in $(ALL); do rm $$file; done; \
1111 rm -r example*;
1212
13−examples.txt : $(PANDOC_DEPS) mkdemos.pl config.xsl S5DEMO README
13+examples.txt : $(PANDOC_DEPS) mkdemos.pl config.xsl S5DEMO README demos
1414 PATH=$(PANDOC_PATH):$$PATH ./mkdemos.pl demos $@
1515 perl -pi -e 's!(href="(main|(my)?header|footer|example\d+)\.(html|tex|xml|css))"!\1.html"!g' $@
1616 for file in $$(ls | egrep '(main|(my)?header|footer|example[0-9]+)\.(html|tex|xml|css)$$'); \
web/demos+4−4
@@ -7,9 +7,9 @@ click on the name of the output file:
77
88@ pandoc README -o example1.html
99
10−2. Standalone HTML file:
10+2. Standalone HTML file with table of contents:
1111
12−@ pandoc -s -S README -o example2.html
12+@ pandoc -s --toc README -o example2.html
1313
14143. HTML with smart quotes, CSS, and custom header and footer:
1515
@@ -25,7 +25,7 @@ click on the name of the output file:
2525
26266. reStructuredText:
2727
28−@ pandoc -s -w rst README -o example6.text
28+@ pandoc -s -w rst --toc README -o example6.text
2929
30307. Rich text format (RTF):
3131
@@ -45,7 +45,7 @@ click on the name of the output file:
4545
464611. ODF (open document format) via DocBook and [docbook2odf]:
4747
48−@ docbook2odf --input-file example9.db --output-file example11.odf
48+@ docbook2odf example9.db --output-file example11.odf
4949
505012. Man page:
5151