summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-20 10:42:57 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-20 11:17:20 +0200
commit778872bd95b27d7df4087665c990abf752b3c0a8 (patch)
treef2744737849c8fe2051e55574773fee7d4b00eb7 /gnu
parentbdfc3cfd11de3fbee038b47d40f8c1a9579c418a (diff)
downloadguix-778872bd95b27d7df4087665c990abf752b3c0a8.tar.gz
gnu: Add texlive-apnum.
* gnu/packages/tex.scm (texlive-apnum): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tex.scm20
1 files changed, 20 insertions, 0 deletions
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 @@ ligatures, but also offers additional control over them.")
 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")