diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,3 +1,5 @@ +# Final document: make -B final=1 + stem = eut source_baseurl = http://euwiki.org/ source_basename = EUT/2nd-edition @@ -12,9 +14,6 @@ filters += ./pandoc-iri localfilters = $(filter ./%,$(filters)) -# To produce final document: make -B STATUS=final -STATUS ?= draft - title = Ensuring utmost transparency subtitle = Free Software and Open Standards under the Rules of Procedure of the European Parliament env_filter += $(citeproc_file:%=PANDOC_CITEPROC_FILE=%) @@ -31,7 +30,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 headstyles=komalike -V chapterstyle=ell -args_latex += -V classoption=titlepage -V classoption=$(STATUS) +args_latex += -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 |