gnu: Add texlive-texcount.

* gnu/packages/tex.scm (texlive-texcount): New variable.
This commit is contained in:
Nicolas Goaziou 2023-07-16 17:24:50 +02:00
parent 7490ea97d5
commit b29fd45b6a
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -6246,6 +6246,27 @@ (define-public texlive-texaccents
special characters to Unicode.")
(license license:expat)))
(define-public texlive-texcount
(package
(name "texlive-texcount")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/support/texcount/" "scripts/texcount/")
(base32
"0ab1kp0zh2r65x1v42sc5bwxmlifa8splrakq589fgd0aap0l8n1")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments (list #:link-scripts #~(list "texcount.pl")))
(inputs (list perl))
(home-page "https://ctan.org/pkg/texcount")
(synopsis "Count words in a LaTeX document")
(description
"TeXcount is a Perl script that counts words in the text of LaTeX files.
It has rules for handling most of the common macros, and can provide
colour-coded output showing which parts of the text have been counted.")
(license license:lppl)))
(define-public texlive-texdraw
(package
(name "texlive-texdraw")