git.iko.soy/typeable/pandoc
on master help sign in
Added another demo case, with header and footer and css.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@299 788f1e2b-df1e-0410-8736-df70ead52e1b

commit2933f9f5e7b234e73caba422d39c5dfc326f01d6 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateThu 28 Dec 2006, 06:48 (20 years ago) parent5468e76
2 files changed+5−2
Makefile+4−2 web/demos.sh+1
Makefile+4−2
@@ -363,8 +363,10 @@ $(web_dest)/: $(MAIN) html
363363 sed -e 's/@WINDOWS_PKG_NAME@/$(win_pkg_name)/g' | \
364364 sed -e 's/@VERSION@/$(VERSION)/g' | \
365365 $(make_page) > $(web_dest)/index.html; \
366− cp README $(web_dest)/README; \
367− cp $(web_src)/S5DEMO $(web_dest)/S5DEMO; \
366+ cp README $(web_dest)/ ; \
367+ cp $(web_src)/S5DEMO $(web_dest)/ ; \
368+ cp $(web_src)/header.html $(web_dest)/ ; \
369+ cp $(web_src)/footer.html $(web_dest)/ ; \
368370 sh $(web_src)/demos.sh $(web_dest) | \
369371 $(make_page) > $(web_dest)/demos.html; \
370372 ) || { rm -rf $(web_dest); exit 1; }
web/demos.sh+1
@@ -8,6 +8,7 @@ NEWLINE='
88'
99DEMOS='pandoc README -o demo0.html
1010pandoc -s -S README -o demo0.html
11+pandoc -s -S -c main.css -B header.html -A footer.html README -o demo0.html
1112pandoc -s README -o demo0.tex
1213pandoc -s -w rst README -o demo0.txt
1314pandoc -s README -o demo0.rtf