X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/1bc9c78f5c59a040a706ae02251edf7526f16747..bbfc718440e3a3fbcef978b0b2c11bbe93cfc7ea:/Makefile 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}/; \