From a1e4825c71308b40a0a250cdddbabf2cf534c5a0 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 25 Oct 2020 12:01:09 +0100 Subject: [PATCH] gnu: texlive-latex-base: Use character translation file. * gnu/packages/tex.scm (texlive-latex-base)[argumenst]: Patch fmtutil.cnf to ensure that the character translation file cp227.tcx is used during format file generation. --- gnu/packages/tex.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 1cffb52410..95ec9d6ada 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2470,7 +2470,10 @@ formats.") (make-file-writable "web2c/fmtutil.cnf") (substitute* "web2c/fmtutil.cnf" (((string-append "^(" (string-join disabled-formats "|") ")") m) - (string-append "#! " m)))) + (string-append "#! " m)) + (("translate-file=cp227") + (format #f "translate-file=~a/share/texmf-dist/web2c/cp227" + (assoc-ref inputs "texlive-kpathsea"))))) (invoke "fmtutil-sys" "--all" "--fmtdir=web2c" (string-append "--cnffile=web2c/fmtutil.cnf")) -- 2.28.0