guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/15: gnu: texlive-latex-base: Use character translation file.


From: guix-commits
Subject: 01/15: gnu: texlive-latex-base: Use character translation file.
Date: Mon, 26 Oct 2020 17:39:36 -0400 (EDT)

rekado pushed a commit to branch wip-texlive
in repository guix.

commit d6282f43371c2257da70c78bc555c1741948a0c7
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Oct 25 12:01:09 2020 +0100

    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.
---
 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 1cffb52..95ec9d6 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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]