diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 01ee51ac25..f4cc5d4399 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -76787,6 +76787,34 @@ (define-public texlive-comma else) to be inserted every three digits in a number, as in @samp{1,234}.") (license license:lppl))) +(define-public texlive-commado + (package + (name "texlive-commado") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/generic/commado/" + "source/generic/commado/" + "tex/generic/commado/") + (base32 + "1rqiivfc6248yydz3199z8s9i61my70y4l48caa2lvxsvnb1pf7l"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/commado") + (synopsis "Expandable iteration on comma-separated and filename lists") + (description + "The bundle provides two packages: @code{commado} and @code{filesdo}. The +package @code{commado} provides the command @code{\\DoWithCSL}, which applies +an existing one-parameter macro to each item in a list in which terms are +separated by commas. + +The package @code{filesdo} provides the command @code{\\DoWithBasesExts}, +which runs the single parameter command on each file whose base and extension +are provided through two comma-separated lists. + +These loop'-like commands are (themselves) entirely expandable.") + (license license:lppl1.3+))) + ;;; ;;; 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