guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 01/05: gnu: texlive-latex-base: Use character translation file.
Date: Sun, 25 Oct 2020 18:36:15 -0400 (EDT)

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

commit 05352bf7ce3214570a0abcb3ea4ff5ad677ebd9b
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)[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 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]