summary refs log tree commit diff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-08-29 16:05:44 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-08-31 22:07:48 +0200
commit3c4c2fd1b09141309c6adace4911e57cf62a2675 (patch)
treef931f797657377ef2d077e2b37bd68b1b1ba5504 /gnu/packages/tex.scm
parenta64867116a84024bd4e4d04a4d545a7d8196c0b7 (diff)
downloadguix-3c4c2fd1b09141309c6adace4911e57cf62a2675.tar.gz
gnu: Add texlive-zref-vario.
* gnu/packages/tex.scm (texlive-zref-vario): New variable.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f41dd92c95..81f43c3e27 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -100842,6 +100842,30 @@ due.  The reference format is highly and easily customizable, both globally
 and locally.")
     (license license:lppl1.3c)))
 
+(define-public texlive-zref-vario
+  (package
+    (name "texlive-zref-vario")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/zref-vario/"
+                   "source/latex/zref-vario/"
+                   "tex/latex/zref-vario/")
+             (base32
+              "0m2q6agq66yc5prag12b1rk6fn4bqcapqqiq5p1nn89n53x1nxyp")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs (list texlive-tools texlive-zref-clever))
+    (home-page "https://ctan.org/pkg/zref-vario")
+    (synopsis
+     "Extended cross-references with @code{varioref} and @code{zref-clever}")
+    (description
+     "This package offers a compatibility layer for @code{varioref} to be used
+alongside @code{zref-clever}.  It provides @samp{\\z...}  counterparts to
+@code{varioref}'s main reference commands, each of which essentially does
+some (scoped) setup for @code{varioref}, then calls the original one.")
+    (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