gnu: Add texlive-savesym.

* gnu/packages/tex.scm (texlive-savesym): New variable.
This commit is contained in:
Nicolas Goaziou 2023-08-29 16:00:15 +02:00
parent 6170693bc7
commit 728ca78c23
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -94518,6 +94518,29 @@ (define-public texlive-savefnmark
subsequently without creating another footnote at the bottom.") subsequently without creating another footnote at the bottom.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public texlive-savesym
(package
(name "texlive-savesym")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "tex/latex/savesym/")
(base32
"18z0xwarbkb6cm7n29wasa04d92g2pirlzsr0icnzfip2f4j7524")))
(build-system texlive-build-system)
(home-page "https://ctan.org/pkg/savesym")
(synopsis "Redefine symbols where names conflict")
(description
"There are a number of symbols (e.g., @code{\\Square}) that are defined by
several packages. In order to typeset all the variants in a document, we have
to give the glyph a unique name. To do that, we define
@code{\\savesymbol@{XXX@}}, which renames a symbol from @code{\\XXX} to
@code{\\origXXX}, and @code{\\restoresymbols@{yyy@}@{XXX@}}, which renames
@code{\\origXXX} back to @code{\\XXX} and defines a new command,
@code{\\yyyXXX}, which corresponds to the most recently loaded version of
@code{\\XXX}.")
(license license:lppl)))
;;; ;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; 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 ;;; of a merge conflict, place them above by existing packages with similar