From: Petter Reinholdtsen Date: Fri, 2 Feb 2018 07:45:21 +0000 (+0000) Subject: Introduce makefile variable for dblatex options. X-Git-Tag: es-printed~511 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/6bb869678cd452e78f33218a677ae3f8bd2c7894 Introduce makefile variable for dblatex options. --- diff --git a/Makefile b/Makefile index a36377c..55a93f6 100644 --- a/Makefile +++ b/Makefile @@ -78,10 +78,11 @@ epub: $(SOURCE).epub %.epub: %.xml dbtoepub $^ +DBLATEX_OPTS = -T simple -t tex -b xetex -p extra/pdf.xsl # Replace Unicode Hair Space (U+200A) with space, as   is not # handled by LaTeX/dblatex, see . %.tex: %.xml - dblatex -T simple -t tex -b xetex -p extra/pdf.xsl $^ + dblatex $(DBLATEX_OPTS) $^ perl -p -i -e 's/\\caption\\end/\\caption{} \\end/; \ s/ / /g; \ s/\\chapter\{(Colophon|Dedication)\}/\\chapter*{}/; \