git.iko.soy/typeable/pandoc
on master help sign in
Changes to website:
7bbb381fiddlosopher
web/Makefile+1−1
@@ -10,7 +10,7 @@ clean:
10 for file in $(ALL); do rm $$file; done; \
10 for file in $(ALL); do rm $$file; done; \
11 rm -r example*;
11 rm -r example*;
12
12
13−examples.txt : $(PANDOC_DEPS) mkdemos.pl config.xsl S5DEMO README
13+examples.txt : $(PANDOC_DEPS) mkdemos.pl config.xsl S5DEMO README demos
14 PATH=$(PANDOC_PATH):$$PATH ./mkdemos.pl demos $@
14 PATH=$(PANDOC_PATH):$$PATH ./mkdemos.pl demos $@
15 perl -pi -e 's!(href="(main|(my)?header|footer|example\d+)\.(html|tex|xml|css))"!\1.html"!g' $@
15 perl -pi -e 's!(href="(main|(my)?header|footer|example\d+)\.(html|tex|xml|css))"!\1.html"!g' $@
16 for file in $$(ls | egrep '(main|(my)?header|footer|example[0-9]+)\.(html|tex|xml|css)$$'); \
16 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:
7
7
8@ pandoc README -o example1.html
8@ pandoc README -o example1.html
9
9
10−2. Standalone HTML file:
10+2. Standalone HTML file with table of contents:
11
11
12−@ pandoc -s -S README -o example2.html
12+@ pandoc -s --toc README -o example2.html
13
13
143. HTML with smart quotes, CSS, and custom header and footer:
143. HTML with smart quotes, CSS, and custom header and footer:
15
15
@@ -25,7 +25,7 @@ click on the name of the output file:
25
25
266. reStructuredText:
266. reStructuredText:
27
27
28−@ pandoc -s -w rst README -o example6.text
28+@ pandoc -s -w rst --toc README -o example6.text
29
29
307. Rich text format (RTF):
307. Rich text format (RTF):
31
31
@@ -45,7 +45,7 @@ click on the name of the output file:
45
45
4611. ODF (open document format) via DocBook and [docbook2odf]:
4611. ODF (open document format) via DocBook and [docbook2odf]:
47
47
48−@ docbook2odf --input-file example9.db --output-file example11.odf
48+@ docbook2odf example9.db --output-file example11.odf
49
49
5012. Man page:
5012. Man page:
51
51