@@ -1,5 +1,5 @@
11#!/bin/sh -e
2−# creates demo page for pandoc
2+# creates example page for pandoc
33# argument #1 is the destination directory
44# argument #2 is the directory containing pandoc, html2markdown, markdown2pdf
55
@@ -8,27 +8,27 @@ PROGPATH=$2
88
99NEWLINE='
1010'
11−DEMOS='pandoc README -o demo0.html
12−pandoc -s -S README -o demo0.html
13−pandoc -s -S -c main.css -B header.html -A footer.html README -o demo0.html
14−pandoc -s README -o demo0.tex
15−pandoc -s README.tex -o demo0.txt
16−pandoc -s -w rst README -o demo0.txt
17−pandoc -s README -o demo0.rtf
18−pandoc -s -m -i -w s5 S5DEMO -o demo0.html
19−html2markdown http://www.gnu.org/software/make/ -o demo0.txt
20−markdown2pdf README -o demo0.pdf
21−markdown2pdf -C myheader.tex README -o demo0.pdf'
11+EXAMPLES='pandoc README -o example0.html
12+pandoc -s -S README -o example0.html
13+pandoc -s -S -c main.css -B header.html -A footer.html README -o example0.html
14+pandoc -s README -o example0.tex
15+pandoc -s README.tex -o example0.txt
16+pandoc -s -w rst README -o example0.txt
17+pandoc -s README -o example0.rtf
18+pandoc -s -m -i -w s5 S5DEMO -o example0.html
19+html2markdown http://www.gnu.org/software/make/ -o example0.txt
20+markdown2pdf README -o example0.pdf
21+markdown2pdf -C myheader.tex README -o example0.pdf'
2222
2323oldifs=$IFS
2424IFS=$NEWLINE
25−set -- $DEMOS
25+set -- $EXAMPLES
2626IFS=$oldifs
2727
2828cd $DEST
2929PATH=$PROGPATH:$PATH
3030
31−echo '% Pandoc demos
31+echo '% Pandoc examples
3232
3333To see the output created by each of the commands below,
3434click on the name of the output file: