guix-commits
[Top][All Lists]
Advanced

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

161/163: gnu: Add texlive-fontsize.


From: guix-commits
Subject: 161/163: gnu: Add texlive-fontsize.
Date: Sat, 19 Aug 2023 14:40:01 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit e4681734f3fc0d449343a97609dfeffc53fb5c04
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Aug 18 13:53:20 2023 +0200

    gnu: Add texlive-fontsize.
    
    * gnu/packages/tex.scm (texlive-fontsize): New variable.
---
 gnu/packages/tex.scm | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f768299021..ce3c19e1c6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8917,6 +8917,73 @@ and complex notation.  Further many macros and shortcuts 
are added, e.g., for
 spaces, operators, physics unit, etc.")
     (license license:lppl)))
 
+(define-public texlive-fontsize
+  (package
+    (name "texlive-fontsize")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/fontsize/"
+                   "source/latex/fontsize/"
+                   "tex/latex/fontsize/")
+             (base32
+              "1y061r4hadb2c26dgch6lrjw6f4j87zj1gj5lgzgx0hyyz58snqy")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments
+     (list #:tex-format "latex"
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'fix-circular-dependency
+                 ;; Documentation doesn't build, and generates a circular
+                 ;; dependency with BIBLATEX-PHILOSOPHY package.  Since we're
+                 ;; not interested in re-building the whole documentation,
+                 ;; just skip that part.
+                 (lambda _
+                   (substitute* "source/latex/fontsize/fontsize.dtx"
+                     (("\\[style=philosophy-classic\\]") "")
+                     (("\\\\DocInput\\{fontsize\\.dtx\\}") "")))))))
+    (native-inputs
+     (list (texlive-updmap.cfg
+            (list texlive-biblatex
+                  texlive-booktabs
+                  texlive-caption
+                  texlive-cochineal
+                  texlive-csquotes
+                  texlive-etoolbox
+                  texlive-fontaxes
+                  texlive-guitlogo
+                  texlive-hologo
+                  texlive-hypdoc
+                  texlive-inconsolata
+                  texlive-libertine
+                  texlive-listings
+                  texlive-ltxdockit
+                  texlive-manfnt
+                  texlive-mathalpha
+                  texlive-mdframed
+                  texlive-metalogo
+                  texlive-microtype
+                  texlive-needspace
+                  texlive-newtx
+                  texlive-parskip
+                  texlive-pgf
+                  texlive-sectsty
+                  texlive-siunitx
+                  texlive-tabu
+                  texlive-upquote
+                  texlive-xcolor
+                  texlive-xkeyval
+                  texlive-xstring
+                  texlive-zref))))
+    (home-page "https://ctan.org/pkg/fontsize";)
+    (synopsis
+     "Small package to set arbitrary sizes for the main font of the document")
+    (description
+     "The package allows you to set arbitrary sizes for the main font of the
+document, through the @emph{fontsize=<size>} option.")
+    (license license:lppl1.3+)))
+
 (define-public texlive-footbib
   (package
     (name "texlive-footbib")



reply via email to

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