me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 4 additions and 1 deletions

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"))