Subject: [bug#48622] [PATCH core-updates 02/29] gnu: Add texlive-latex-refcount.

From: Marius Bakke <[email-masked]>
Date: Mon, 24 May 2021 16:43:06 +0200

* gnu/packages/tex.scm (texlive-latex-refcount): New public variable.
---
 gnu/packages/tex.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 1cf288ee2f..8a3f8cb9ba 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4244,6 +4244,25 @@ re-processing.")
 (define-public texlive-latex-pstool
   (deprecated-package "texlive-latex-pstool" texlive-pstool))
 
+(define-public texlive-latex-refcount
+  (package
+    (inherit (simple-texlive-package
+              "texlive-latex-refcount"
+              (list "/doc/latex/refcount/"
+                    "/tex/latex/refcount/")
+              (base32
+               "0pkmqj2qihndlv3ks33xzqw91q46jx79r3aygj68d8dflyddi583")
+              #:trivial? #t))
+    (home-page "https://www.ctan.org/pkg/refcount")
+    (synopsis "Counter operations with label references")
+    (description
+     "This package provides the @code{\\setcounterref} and
+@code{\\addtocounterref} commands which use the section (or other) number
+from the reference as the value to put into the counter.  It also provides
+@code{\\setcounterpageref} and @code{\\addtocounterpageref} that do the
+corresponding thing with the page reference of the label.")
+    (license license:lppl1.3c+)))
+
 (define-public texlive-seminar
   (package
     (inherit (simple-texlive-package
-- 
2.31.1