summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-01-03 13:03:09 +0100
committerJonas Smedegaard <dr@jones.dk>2015-01-03 13:03:09 +0100
commit49268d0bcadc0d35ed44ae7d2a6b2242b2d4bb12 (patch)
tree4cc7fd4c8eb99fb181a227150b29d6e91090267e /Makefile
parent04d9ad87cc978e9bdf7994fe30aa24fdf2acf063 (diff)
Set frontmatter/mainmatter/backmatter in template (not filter).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index aa017c5..30f355d 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ citeproc_file = $(stem).bib
templates = template.tex header.tex before.tex after.tex
-filters = ./pandoc-memoir ./pandoc-cs1 ./pandoc-todo
+filters = ./pandoc-cs1 ./pandoc-todo
filters += $(if $(citeproc_file),pandoc-citeproc)
filters += ./pandoc-iri
@@ -32,7 +32,7 @@ args_latex += --template=template.tex --latex-engine=xelatex
args_latex += -H header.tex -B before.tex -A after.tex
args_latex += -V mainfont="Lora" -V sansfont="Quattrocento Sans" -V monofont="Inconsolata"
args_latex += -V documentclass=memoir -V pagestyle=plain -V headstyles=komalike -V chapterstyle=ell
-args_latex += -V classoption=titlepage -V classoption=$(if $(final),final,draft)
+args_latex += -V matter=yes -V classoption=titlepage -V classoption=$(if $(final),final,draft)
flavors = a4 book ebook
args_a4 = -V papersize=a4paper -V fontsize=10pt -V classoption=oneside
args_book = -V papersize=b5paper -V fontsize=10pt -V classoption=twoside