X-Git-Url: http://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/2d5e52ac1ff23e3971f8ecc48bfd2915b69f15a6..e4be4de12aa4cc8f2a80f43d4aef570c8f7ef551:/Makefile diff --git a/Makefile b/Makefile index 8b9926c..a36377c 100644 --- a/Makefile +++ b/Makefile @@ -82,8 +82,7 @@ epub: $(SOURCE).epub # handled by LaTeX/dblatex, see . %.tex: %.xml dblatex -T simple -t tex -b xetex -p extra/pdf.xsl $^ - perl -p -i -e 's/\[latin1\]\{inputenc\}/[utf8]{inputenc}/; \ - s/\\caption\\end/\\caption{} \\end/; \ + perl -p -i -e 's/\\caption\\end/\\caption{} \\end/; \ s/ / /g; \ s/\\chapter\{(Colophon|Dedication)\}/\\chapter*{}/; \ s/\\chapter\{(Foreword|Prefacio|Forord|Introduction|Introducción|Introduksjon)\}/\\chapter*{$$1} \\addcontentsline{toc}{chapter}{$$1}/; \