3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: texlive-latex-base: Use character translation file.

* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Patch fmtutil.cnf to
ensure that the character translation file cp227.tcx is used during format
file generation.
This commit is contained in:
Ricardo Wurmus 2020-10-25 12:01:09 +01:00
parent 959a397d22
commit 71d7702fae
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2471,7 +2471,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"))