gnu: Add texlive-xfor.

* gnu/packages/tex.scm (texlive-xfor): New variable.
This commit is contained in:
Nicolas Goaziou 2023-05-06 07:45:13 +02:00
parent ebc30bccb8
commit 3e62196230
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -12510,6 +12510,29 @@ (define-public texlive-xetex
which is ordinarily processed by a tightly bound processor (called
@code{xdvipdfmx}), that produces PDF.")
(license license:x11)))
(define-public texlive-xfor
(package
(name "texlive-xfor")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/xfor/"
"source/latex/xfor/"
"tex/latex/xfor/")
(base32
"1j241j8sixqkaj2xmcvmrfwm1sdw6xdssnzml1bjs54rqzyh768a")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(home-page "https://ctan.org/pkg/xfor")
(synopsis "Reimplementation of the LaTeX @code{for-loop} macro")
(description
"The package redefines the LaTeX internal @code{\\@@for} macro so that
the loop may be prematurely terminated. The action is akin to the C/Java
break statement, except that the loop does not terminate until the end of the
current iteration.")
(license license:lppl)))
;;;
;;; 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