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
This commit is contained in:
fiddlosopher
2007-07-11 07:35:39 +00:00
parent dfdcec77a3
commit 7bbb381a47
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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)$$'); \
+4 -4
View File
@@ -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: