gnu: Add texlive-smartref.

* gnu/packages/tex.scm (texlive-smartref): New variable.
This commit is contained in:
Nicolas Goaziou 2023-08-29 16:01:27 +02:00
parent 5baeb3f0d9
commit b8be897757
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -96000,6 +96000,32 @@ (define-public texlive-smart-eqn
styling which eliminates the need to enter style commands repeatedly.")
(license license:lppl1.3c)))
(define-public texlive-smartref
(package
(name "texlive-smartref")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/smartref/" "tex/latex/smartref/")
(base32
"11fvmy3173spkg8y8l9nfjwlfnhyqhz4mp8h32234x72ybjhkmhl")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(home-page "https://ctan.org/pkg/smartref")
(synopsis "Extend LaTeX's @code{\\ref} capability")
(description
"The package extends the LaTeX labelling system: whenever a label is set,
the values of counters (selected by the user) are recorded, along with the
label. The value of these counters can be recalled with a command similar to
@code{\\pageref}.
The package also adds commands @code{\\s@var{NAME}ref} (for each counter
@var{NAME} that the user has selected); these commands display something only
if the value of the @var{NAME} counter is changed from when the label was set.
Many commands are provided to serve as a macro programming environment for
using the extended labels.")
(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