diff options
-rw-r--r-- | web/Makefile | 2 | ||||
-rw-r--r-- | web/demos | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/web/Makefile b/web/Makefile index 28450c95f..ebe5ad7cc 100644 --- a/web/Makefile +++ b/web/Makefile @@ -10,7 +10,7 @@ clean: for file in $(ALL); do rm $$file; done; \ rm -r example*; -examples.txt : $(PANDOC_DEPS) mkdemos.pl config.xsl S5DEMO README +examples.txt : $(PANDOC_DEPS) mkdemos.pl config.xsl S5DEMO README demos PATH=$(PANDOC_PATH):$$PATH ./mkdemos.pl demos $@ perl -pi -e 's!(href="(main|(my)?header|footer|example\d+)\.(html|tex|xml|css))"!\1.html"!g' $@ for file in $$(ls | egrep '(main|(my)?header|footer|example[0-9]+)\.(html|tex|xml|css)$$'); \ @@ -7,9 +7,9 @@ click on the name of the output file: @ pandoc README -o example1.html -2. Standalone HTML file: +2. Standalone HTML file with table of contents: -@ pandoc -s -S README -o example2.html +@ pandoc -s --toc README -o example2.html 3. HTML with smart quotes, CSS, and custom header and footer: @@ -25,7 +25,7 @@ click on the name of the output file: 6. reStructuredText: -@ pandoc -s -w rst README -o example6.text +@ pandoc -s -w rst --toc README -o example6.text 7. Rich text format (RTF): @@ -45,7 +45,7 @@ click on the name of the output file: 11. ODF (open document format) via DocBook and [docbook2odf]: -@ docbook2odf --input-file example9.db --output-file example11.odf +@ docbook2odf example9.db --output-file example11.odf 12. Man page: |