From a8e8c9e59cbbb668cee17c0462015487c438dec0 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 19 Dec 2020 14:34:46 +0100 Subject: [PATCH] gnu: Add texlive-latex-refcount. * 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 @@ (define-public texlive-pstool (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