ngz pushed a commit to branch tex-team-next
in repository guix.
commit 5280ffd31990637b869ac33493b2902f2c53ea11
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Fri May 12 18:22:50 2023 +0200
gnu: Add texlive-chngcntr.
* gnu/packages/tex.scm (texlive-chngcntr): New variable.
---
gnu/packages/tex.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ca5b165599..2bce40732b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9813,6 +9813,25 @@ Support for use with LaTeX is available in
@code{freenfss}, part of
(define-deprecated-package texlive-fonts-charter texlive-charter)
+(define-public texlive-chngcntr
+ (package
+ (name "texlive-chngcntr")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/chngcntr/" "tex/latex/chngcntr/")
+ (base32
+ "0ag1hb1vkl0xdzslp6f0j59dijwr9k9kq7vaada148241q0hflbj")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (home-page "https://ctan.org/pkg/chngcntr")
+ (synopsis "Change the resetting of counters")
+ (description
+ "This package defines commands @code{\\counterwithin} (which sets up
+a counter to be reset when another is incremented) and
+@code{\\counterwithout} (which unsets such a relationship).")
+ (license license:lppl)))
+
(define-public texlive-context
(package
(inherit (simple-texlive-package