diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-15 23:52:53 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-18 18:18:27 +0200 |
commit | 8787605c5ecb28b9ffa5eaa2f2f5fa998ccfd12a (patch) | |
tree | 000427ed98cad0428c685b27e9cec3b73001c0b3 | |
parent | ca177406f77c02ce6d0424384c9cbc399e9e1b57 (diff) |
gnu: Add texlive-chklref.
* gnu/packages/tex.scm (texlive-chklref): New variable.
-rw-r--r-- | gnu/packages/tex.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 109a2ae1ab..2121caad40 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1322,6 +1322,31 @@ programming language, but it is designed to work well with languages and compilers in the ML family.") (license license:lppl1.2+))) +(define-public texlive-chklref + (package + (name "texlive-chklref") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/man/man1/chklref.1" + "doc/man/man1/chklref.man1.pdf" + "doc/support/chklref/" "scripts/chklref/" + "tex/latex/chklref/") + (base32 + "1namyi035gqhvldplj0yzfkgxq91zrifqxhsf32jgxhjgcbbal6g"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments (list #:link-scripts #~(list "chklref.pl"))) + (inputs (list perl)) + (home-page "https://ctan.org/pkg/chklref") + (synopsis "Check for problems with labels in LaTeX") + (description + "It is quite common that after modifying a TeX file, many unused labels +remain in it. The purpose of chklref is to automatically find these useless +labels. It also looks for non starred mathematical environments with no +labels and advises the user to use a starred version instead.") + (license license:gpl3))) + (define-public texlive-dvipsconfig (package (name "texlive-dvipsconfig") |