diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-12-22 09:16:35 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-12-22 09:16:35 +0100 |
commit | f8955236b96711e609e3f2eb5d95998de4812755 (patch) | |
tree | f7bea38c8b8b364029dc26a5a51e7c6ba9e3b1b2 /Makefile | |
parent | 393da4bf5eac7b21cfd92406034d297a10e3cae2 (diff) |
Add section and bibliography filters.
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 \ |