document how to run with older pandoc (<1.9) program
authorWolfram Schneider <wosch@indexdata.dk>
Tue, 8 Oct 2013 09:38:03 +0000 (09:38 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Tue, 8 Oct 2013 09:38:03 +0000 (09:38 +0000)
tools/htdocs/Makefile

index ef73fd9..84043d2 100644 (file)
@@ -62,6 +62,9 @@ help:
 # For a description of pandoc's markdown format, see:
 # http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html -->
 
+# for older pandoc (<1.9) run first:
+# perl -i.bak -npe 's/"(Authors|Subjects)": "(.*?)"/"$1": "test"/' tools/htdocs/whitepaper.markdown
+#
 %.html: %.markdown
        rm -f $@
        pandoc --standalone --toc -c mkws-doc.css $< | sed '/^<col width="[0-9]*%" \/>$//d' > $@