From bcd1a46cd8d92f747ac5f76d8f9128a6cc2085f7 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 30 Jul 2023 16:41:31 +0200 Subject: [PATCH] gnu: Add texlive-polexpr. * gnu/packages/tex.scm (texlive-polexpr): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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")