From 778872bd95b27d7df4087665c990abf752b3c0a8 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 20 Jul 2023 10:42:57 +0200 Subject: [PATCH] gnu: Add texlive-apnum. * gnu/packages/tex.scm (texlive-apnum): New variable. --- gnu/packages/tex.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 3e03abc13a..9024c5bfe3 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1204,6 +1204,26 @@ (define-public texlive-albatross a given (Unicode) glyph. It relies on Fontconfig.") (license license:bsd-3))) +(define-public texlive-apnum + (package + (name "texlive-apnum") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/generic/apnum/" "tex/generic/apnum/") + (base32 + "0s6nklimzbqc1z1vhgffzp76d1kl2shz1xkf119bck482rvn3x61"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/apnum") + (synopsis "Arbitrary precision numbers implemented by TeX macros") + (description + "The basic operations (addition, subtraction, multiplication, +division, power to an integer) are implemented by TeX macros in this package. +Operands may be numbers with arbitrary numbers of digits; scientific notation +is allowed. The expression scanner is also provided.") + (license license:public-domain))) + (define-public texlive-arara (package (name "texlive-arara")