entorb / hpmor-de

Deutsche Übersetzung (German Translation) von “Harry Potter and the Methods of Rationality” (HPMOR)
https://github.com/entorb/hpmor-de/releases/tag/WorkInProgress
23 stars 5 forks source link

Docker Build eBooks have character encoding problem #50

Open entorb opened 1 year ago

entorb commented 1 year ago

running

docker run -it --mount type=bind,src="$(pwd)",dst=/app hpmor scripts/make_ebooks.sh

the resulting hpmor.html and .epub have broken umlaute in on the titlepage.

Compiling via GitHub Actions, they are fine.

entorb commented 4 months ago

Origin is

\usepackage[bookmarks=true,unicode=true,pdfborder={0 0 0},
    pdftitle={Harry Potter and the Methods of Rationality - Deutsche Fan-Übersetzung},
    pdfauthor={Eliezer Yudkowsky}, breaklinks={true},
    pdfkeywords={Harry Potter, rationality, hpmor},pdfencoding=auto
]{hyperref}