diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-08-18 13:53:20 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-08-19 20:33:52 +0200 |
commit | e4681734f3fc0d449343a97609dfeffc53fb5c04 (patch) | |
tree | 28151a87aabc8fd71d10a6db011f21176e5f20b3 /gnu | |
parent | f8c6ab42eff5b16fc9c7469af2762ad449ec6d87 (diff) | |
download | guix-e4681734f3fc0d449343a97609dfeffc53fb5c04.tar.gz |
gnu: Add texlive-fontsize.
* gnu/packages/tex.scm (texlive-fontsize): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/tex.scm | 67 |
1 files changed, 67 insertions, 0 deletions
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") |