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