From f5271e15983ef32bf7bc8561db915cd2937c22f8 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 15:48:37 +0200 Subject: [PATCH] gnu: Add texlive-dynamicnumber. * gnu/packages/tex.scm (texlive-dynamicnumber): New variable. --- gnu/packages/tex.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index d7ae7a6fb8..f9ac0fd17c 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -79763,6 +79763,33 @@ archives of CD-ROMs, Audio-CDs and so on. Supported languages at the moment: English, French, German, Italian, Polish, Portuguese, Spanish.") (license license:lppl))) +(define-public texlive-dynamicnumber + (package + (name "texlive-dynamicnumber") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/dynamicnumber/" + "source/latex/dynamicnumber/" + "tex/latex/dynamicnumber/") + (base32 + "15fxlihdsnv2mqivv9bjzhdlzprdjgfkcmpa0v2gy60c4nvymi6x"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/dynamicnumber") + (synopsis + "Dynamically typeset numbers and values in LaTeX through ``symbolic links''") + (description + "This package dynamically typesets values generated by different kinds of +scripts in LaTeX through the use of ``symbolic links'' (which are not in any +way related to the symbolic links used in UNIX systems!). The aim is to +reduce errors resulting from out-of-date numbers by directly setting them in +the number generating file and importing a ``symbolic link'' into the LaTeX +source file. It can be used to import not only numerical values, but strings +and pieces of code are also possible. Currently only MATLAB and Python are +supported to produce dynamic number list files.") + (license license:expat))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar