summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-30 16:41:31 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-30 19:42:12 +0200
commitbcd1a46cd8d92f747ac5f76d8f9128a6cc2085f7 (patch)
tree8a7c7dff5ade3b83c7cbcddcf33ae7723a216fc7 /gnu/packages
parent8033dfd16b8ff5ad76d952907ae74ba8c9792167 (diff)
downloadguix-bcd1a46cd8d92f747ac5f76d8f9128a6cc2085f7.tar.gz
gnu: Add texlive-polexpr.
* gnu/packages/tex.scm (texlive-polexpr): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tex.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 18ca9ae1d0..87834c37e8 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5519,6 +5519,29 @@ only a maximum of such alphabets.  The necessary user macros are defined for
 typsetting common math symbols that require special ISO treatment.")
     (license license:lppl1.3c)))
 
+(define-public texlive-polexpr
+  (package
+    (name "texlive-polexpr")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/generic/polexpr/"
+                   "tex/generic/polexpr/")
+             (base32
+              "09lryzizy59aaq92m2rzryxf0q0b9wqhrm258q1kqgm0sd2z6pn3")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/polexpr")
+    (synopsis "Parser for polynomial expressions")
+    (description
+     "The package provides a parser @code{\\poldef} of algebraic polynomial
+expressions.  Once defined, a polynomial is usable by its name either as
+a numerical function in @code{\\xintexpr} or @code{\\xinteval}, or for
+additional polynomial definitions, or as argument to the package macros.  The
+localization of real roots to arbitrary precision as well as the determination
+of all rational roots is implemented via such macros.")
+    (license license:lppl1.3c)))
+
 (define-public texlive-bibtex8
   (package
     (name "texlive-bibtex8")