diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-11 07:35:39 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-11 07:35:39 +0000 |
commit | 7bbb381a4728d762a39c6105e7f396df2542427e (patch) | |
tree | ece7fe4ae4d942b25eb6137adab77aca25652a1e /web | |
parent | dfdcec77a3d155242ac4f0e7e1e520fa25c596c2 (diff) | |
download | pandoc-7bbb381a4728d762a39c6105e7f396df2542427e.tar.gz |
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
Diffstat (limited to 'web')
-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: |