gnu: Add texlive-commado.

* gnu/packages/tex.scm (texlive-commado): New variable.
This commit is contained in:
Nicolas Goaziou 2023-08-29 15:46:30 +02:00
parent 5f1f1008ae
commit 69cec51a77
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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