gnu: Add texlive-cmdtrack.

* gnu/packages/tex.scm (texlive-cmdtrack): New variable.
This commit is contained in:
Nicolas Goaziou 2023-08-29 15:46:07 +02:00
parent ed0aebb27c
commit 672f0a1d02
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -76244,6 +76244,30 @@ (define-public texlive-cmdstring
command @samp{\\foo}), in a reliable way.")
(license license:lppl)))
(define-public texlive-cmdtrack
(package
(name "texlive-cmdtrack")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/cmdtrack/"
"source/latex/cmdtrack/"
"tex/latex/cmdtrack/")
(base32
"1dmmz5pmp5ql9wq9vlh888hn2q6djjpia3h8c2580yxs5pwk1hrq")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(home-page "https://ctan.org/pkg/cmdtrack")
(synopsis "Check used commands")
(description
"The package keeps track of whether a command defined in a document preamble
is actually used somewhere in the document. After the package is loaded in
the preamble of a document, all @code{\\newcommand} (and similar command
definitions) between that point and the beginning of the document will be
marked for logging. At the end of the document a report of command usage will
be printed in the TeX log.")
(license license:lppl1.0+)))
;;;
;;; 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