gnu: Add texlive-padcount.

* gnu/packages/tex.scm (texlive-padcount): New variable.
This commit is contained in:
Nicolas Goaziou 2023-08-29 15:57:22 +02:00
parent e8a433df97
commit a7a423a954
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -91069,6 +91069,29 @@ (define-public texlive-overlays
alternative to full-fledged presentation classes like @code{beamer}.")
(license license:lppl1.3c)))
(define-public texlive-padcount
(package
(name "texlive-padcount")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/padcount/"
"source/latex/padcount/"
"tex/latex/padcount/")
(base32
"13dk66ax3wr7vx0nkr36dnw411qc5q3d7wdm40kgm8r6a9xg0f7w")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(home-page "https://ctan.org/pkg/padcount")
(synopsis "Pad numbers with arbitrary characters")
(description
"This package provides some simple macros which will pad numbers (or, indeed,
any expanded token) with your choice of character (defaulting to @samp{0}) to
your choice of number of places (defaults to @samp{2}). This works not only
on Arabic numerals, but on any expanded list of tokens passed to it. This
makes it suitable for, among other things, counters of all kinds.")
(license license:lppl1.3c)))
;;;
;;; 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