Website demos: removed escaping of -.
Instead, don't use -S for examples.html.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1491 788f1e2b-df1e-0410-8736-df70ead52e1b
commit5cd286aa452a7a75de9eb37cb74ed22d5b3ebfaf
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
dateFri 7 Nov 2008, 16:32 (18 years ago)
parentc1272de
web/Makefile+3
@@ -15,6 +15,9 @@ examples.txt : mkdemos.pl config.xsl S5DEMO README demos math.text
1515 do highlight -k monospace -u utf-8 --style emacs $$file > $$file.html; \
1616 done
1717
18+examples.html : examples.txt
19+ $(PANDOC_PATH)/pandoc -s -H css -A footer.html $< > $@
20+
1821index.html : index.txt css
1922 $(MAKEPAGE) --toc $< > $@
2023
web/mkdemos.pl−1
@@ -21,7 +21,6 @@ while (<IN>) {
2121 system "$commandExec";
2222 $line = $command;
2323 $line =~ s/@@([^@]*)@@/<a href="$1">$1<\/a>/g;
24− $line =~ s/-/\\-/g; # to prevent smart dashes!
2524 $line =~ s/^(.*)$/ <pre><code>$1<\/code><\/pre>/g;
2625 if ( $line =~ /(example\d+\.html)<\/a><\/code>/m ) {
2726 $line .= "\n (View [`$1` as a web page]($1).)\n";