From bbfc718440e3a3fbcef978b0b2c11bbe93cfc7ea Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Thu, 1 Feb 2018 07:18:26 +0000 Subject: [PATCH] Reinsert UTF-8 enabling LaTeX editing. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eedec4b..e1ace49 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,8 @@ epub: $(SOURCE).epub # handled by LaTeX/dblatex, see . %.tex: %.xml dblatex -t tex -b xetex $^ - perl -p -i -e 's/\\caption\\end/\\caption{} \\end/; \ + perl -p -i -e 's/\[latin1\]\{inputenc\}/[utf8]{inputenc}/; \ + s/\\caption\\end/\\caption{} \\end/; \ s/ / /g; \ s!\\maketitle!\\input{extra/$(TEXLANGCODE)/cover.tex}!; \ s/\\author\{and\}/\\author{Paul Stacey \\and Sarah Hinchliff Pearson}/; \ -- 2.47.2