diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5,6 +5,9 @@ source_basename = EUT/2nd-edition # work around in mediawiki bug parsing blockquote tags on same line re_blockquote = s|\n*(</?blockquote>)\n*|\n$$1\n|g +export PANDOC_CITEPROC_FILE = $(stem).bib +#PANDOC_CITEPROC_FILE = $(stem).bib + all: $(stem).pdf download: @@ -21,7 +24,8 @@ $(stem).mediawiki: $(stem).raw $(stem).pdf: $(stem).mediawiki template.tex pandoc -f mediawiki --template=template.tex --latex-engine=xelatex \ - --toc \ + --filter ./pandoc-filter-sections --filter ./pandoc-filter-bib \ + --bibliography=$(PANDOC_CITEPROC_FILE) \ -V papersize=a4paper -V fontsize=11pt \ -V documentclass=memoir -V chapterstyle=demo3 \ -V classoption=oneside -V classoption=titlepage -V classoption=twocolumn \ |