gnu: Add texlive-macroswap.

* gnu/packages/tex.scm (texlive-macroswap): New variable.
This commit is contained in:
Nicolas Goaziou 2023-08-29 15:54:48 +02:00
parent ae3551e871
commit 9a962a55f0
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -87879,6 +87879,26 @@ (define-public texlive-macrolist
first element is numbered 1, the second element numbered 2, and so on.")
(license license:lppl1.3+)))
(define-public texlive-macroswap
(package
(name "texlive-macroswap")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/macroswap/"
"source/latex/macroswap/"
"tex/latex/macroswap/")
(base32
"06qj68pi24rblmx16wm76p5cy791p9whmglwi384k3vikb91qjrl")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(home-page "https://ctan.org/pkg/macroswap")
(synopsis "Swap the definitions of two LaTeX macros")
(description
"The package provides simple utility methods to swap the meaning (token
expansion) of two macros by name.")
(license license:lppl1.2+)))
;;;
;;; 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