guix-commits
[Top][All Lists]
Advanced

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

03/08: gnu: texlive-fonts-knuth-lib: Build all tfm files.


From: guix-commits
Subject: 03/08: gnu: texlive-fonts-knuth-lib: Build all tfm files.
Date: Fri, 1 Mar 2019 17:31:21 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 96f5377d5e0fe3481bbcc3d3e0e8d496c3ea5a24
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Mar 1 19:21:18 2019 +0100

    gnu: texlive-fonts-knuth-lib: Build all tfm files.
    
    * gnu/packages/tex.scm (texlive-fonts-knuth-lib)[arguments]: Build all tfm
    files in "build" phase.
---
 gnu/packages/tex.scm | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index bb76c48..738d49d 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -892,13 +892,17 @@ Computers & Typesetting series.")
                        (string-append (getcwd) ":"
                                       mf "/share/texmf-dist/metafont/base")))
              (mkdir "build")
-             (invoke "mf" "-progname=mf"
-                     "-output-directory=build"
-                     (string-append "\\"
-                                    "mode:=ljfour; "
-                                    "mag:=1; "
-                                    "batchmode; "
-                                    "input manfnt"))))
+             (for-each (lambda (font)
+                         (format #t "building font ~a\n" font)
+                         (invoke "mf" "-progname=mf"
+                                 "-output-directory=build"
+                                 (string-append "\\"
+                                                "mode:=ljfour; "
+                                                "mag:=1; "
+                                                "batchmode; "
+                                                "input " font)))
+                       (find-files "." "(manfnt|logo.+)\\.mf$"))
+             #t))
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))



reply via email to

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