From e47e9d927368dac0d6a3c528ce350cf4c73c1a28 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 13 Sep 2021 16:52:45 +0200 Subject: gnu: Add texlive-psnfss. * gnu/packages/tex.scm (texlive-psnfss): New variable. --- gnu/packages/tex.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 3013b1e8b5..2c9acc5019 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3639,6 +3639,42 @@ (define-public texlive-latex-psnfss packages.") (license license:lppl1.2+))) +;; TODO: this should supersede texlive-latex-psnfss, but we can't do this +;; before the next rebuild cycle. +(define-public texlive-psnfss + (let ((template (simple-texlive-package + "texlive-psnfss" + (list "/doc/latex/psnfss/" + "/source/latex/psnfss/" + "/fonts/map/dvips/psnfss/" + ;; Only the sty files are generated. We need all the .fd + ;; files. + "/tex/latex/psnfss/") + (base32 + "04y7v4bghpzky6c3l6qadx7s47m69jh1y615g91rxcn8z3r190di") + #:trivial? #false))) + (package + (inherit template) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ '()) + "latex/psnfss") + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/psnfss"))))))) + (home-page "https://www.ctan.org/pkg/psnfss") + (synopsis "Font support for common PostScript fonts") + (description + "The PSNFSS collection includes a set of files that provide a complete +working setup of the LaTeX font selection scheme (NFSS2) for use with common +PostScript fonts. It covers the so-called \"Base\" fonts (which are built +into any Level 2 PostScript printing device and the Ghostscript interpreter) +and a number of free fonts. It provides font definition files, macros and +font metrics. The bundle as a whole is part of the LaTeX required set of +packages.") + (license license:lppl1.2+)))) + ;; For user profiles (define-public texlive-base (let ((default-packages -- cgit v1.2.3