guix-commits
[Top][All Lists]
Advanced

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

185/458: gnu: texlive-newtx: Refresh package definition.


From: guix-commits
Subject: 185/458: gnu: texlive-newtx: Refresh package definition.
Date: Wed, 14 Jun 2023 05:22:28 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit b6998cab426fd847deb5c0d2a265581a852cd6a2
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 18:43:26 2023 +0200

    gnu: texlive-newtx: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-newtx): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-AMSMATH, TEXLIVE-CARLISLE, 
TEXLIVE-ETEXTOOLS,
    TEXLIVE-ETOOLBOX, TEXLIVE-FONTAXES, TEXLIVE-IFTEX, TEXLIVE-OBERDIEK,
    TEXLIVE-TRIMSPACES, TEXLIVE-XSTRING, TEXLIVE-XKEYVAL.
---
 gnu/packages/tex.scm | 58 ++++++++++++++++++++++++++++++++--------------------
 1 file changed, 36 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ec845e4e5c..85e553dd1e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11305,30 +11305,44 @@ use with [pdf]LaTeX.")
 
 (define-public texlive-newtx
   (package
-    (inherit (simple-texlive-package
-              "texlive-newtx"
-              (list "/doc/fonts/newtx/"
-                    "/fonts/afm/public/newtx/"
-                    "/fonts/enc/dvips/newtx/"
-                    "/fonts/map/dvips/newtx/"
-                    "/fonts/opentype/public/newtx/"
-                    "/fonts/tfm/public/newtx/"
-                    "/fonts/type1/public/newtx/"
-                    "/fonts/vf/public/newtx/"
-                    "/tex/latex/newtx/")
-              (base32
-               "0h0wm3cd0wxag5x7vy3vgr42jd8m6ffkl90pnkvqdxzbnfdjv3l6")
-              #:trivial? #t))
+    (name "texlive-newtx")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "/doc/fonts/newtx/"
+                   "/fonts/afm/public/newtx/"
+                   "/fonts/enc/dvips/newtx/"
+                   "/fonts/map/dvips/newtx/"
+                   "/fonts/opentype/public/newtx/"
+                   "/fonts/tfm/public/newtx/"
+                   "/fonts/type1/public/newtx/"
+                   "/fonts/vf/public/newtx/"
+                   "/tex/latex/newtx/")
+             (base32
+              "0h0wm3cd0wxag5x7vy3vgr42jd8m6ffkl90pnkvqdxzbnfdjv3l6")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-amsmath
+           texlive-carlisle
+           texlive-etextools
+           texlive-etoolbox
+           texlive-fontaxes
+           texlive-iftex
+           texlive-oberdiek
+           texlive-trimspaces
+           texlive-xkeyval
+           texlive-xstring))
     (home-page "https://www.ctan.org/pkg/newtx";)
     (synopsis "Repackaging of the TX fonts with improved metrics")
-    (description "The @code{newtx} bundle splits
-@code{txfonts.sty} (from the TX fonts distribution) into two
-independent packages, @code{newtxtext.sty} and @code{newtxmath.sty},
-each with fixes and enhancements.  @code{newtxmath}'s metrics have
-been re-evaluated to provide a less tight appearance and to provide a
-@code{libertine} option that substitutes Libertine italic and Greek
-letters for the existing math italic and Greek glyphs, making a
-mathematics package that matches Libertine text quite well.")
+    (description
+     "The @code{newtx} bundle splits @file{txfonts.sty} (from the TX fonts
+distribution) into two independent packages, @code{newtxtext.sty} and
+@code{newtxmath.sty}, each with fixes and enhancements.  @code{newtxmath}'s
+metrics have been re-evaluated to provide a less tight appearance and to
+provide a @code{libertine} option that substitutes Libertine italic and Greek
+letters for the existing math italic and Greek glyphs, making a mathematics
+package that matches Libertine text quite well.")
     (license license:lppl1.3)))
 
 (define-public texlive-xcharter



reply via email to

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