[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/204: gnu: Add texlive-zref.
From: |
guix-commits |
Subject: |
18/204: gnu: Add texlive-zref. |
Date: |
Wed, 20 Apr 2022 02:03:12 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit a81253bca11109c28fe46c3f7c1590fa9cbf6169
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Apr 1 12:13:28 2022 -0400
gnu: Add texlive-zref.
* gnu/packages/tex.scm (texlive-zref): New variable.
---
gnu/packages/tex.scm | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 82da10c41a..1ebaceb322 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6360,6 +6360,76 @@ Adobe's basic set.")
;; No license version specified.
(license license:gpl3+)))
+(define-public texlive-zref
+ (package
+ (inherit (simple-texlive-package
+ "texlive-zref"
+ (list "doc/latex/zref/"
+ "source/latex/zref/")
+ (base32 "09l2wrqx0navislkx15iazv7jy0ip8bqaw3c0hjf0jy81kqrrm01")))
+ (outputs '("out" "doc"))
+ (arguments
+ (list
+ #:build-targets #~(list "zref.dtx")
+ #:tex-directory "latex/zref"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (setenv "ROOT_DIR" (getcwd))
+ (chdir "source/latex/zref")))
+ (add-after 'install 'install-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (define doc (string-append (assoc-ref outputs "doc")
+ "/share/texmf-dist/doc"))
+ (mkdir-p doc)
+ (copy-recursively (string-append (getenv "ROOT_DIR") "/doc")
+ doc))))))
+ (propagated-inputs (list texlive-generic-atbegshi
+ texlive-generic-gettitlestring
+ texlive-generic-iftex
+ texlive-latex-atveryend
+ texlive-latex-kvoptions
+ texlive-latex-pdftexcmds
+ texlive-latex-xkeyval))
+ (home-page "https://github.com/ho-tex/zref")
+ (synopsis "Reference scheme for LaTeX")
+ (description "This package offers a means to remove the limitation, of
+only two properties, that is inherent in the way LaTeX's reference system
+works. The package implements an extensible referencing system, where
+properties may be defined and used in the course of a document. It provides
+an interface for macro programmers to access the new reference scheme and some
+modules that use it. Modules available are:
+@table @code
+@item zref-user
+use zref for traditional labels and references;
+@item zref-abspage
+retrieve absolute page numbers (physical pages, as opposed to the logical page
+number that is normally typeset when a page number is requested;
+@item zref-lastpage
+provide a zref-label for the last page of the document;
+@item zref-nextpage
+provide the page number of the next page of the document;
+@item zref-totpages
+provide the total number of pages in the document;
+@item zref-pagelayout
+provide the page layout parameters of a each page (which may then be printed
+at the end of the document);
+@item zref-perpage
+make a counter reset for each new page;
+@item zref-titleref
+make section title or caption text available through the reference system;
+@item zref-savepos
+make positions on a page available;
+@item zref-dotfill
+controlled dot-filling
+@item zref-env
+record the latest environment's name and the line it started on;
+@item zref-xr
+provide the facilities of the xr and xr-hyper packages.
+@end table")
+ (license license:lppl1.3c+)))
+
(define-deprecated-package texlive-fonts-adobe-zapfding texlive-zapfding)
(define-public texlive-fonts-rsfs
- 76/204: gnu: Add java-antlr4-runtime-cpp., (continued)
- 76/204: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/20
- 79/204: gnu: Add python-cffsubr., guix-commits, 2022/04/20
- 87/204: gnu: Add font-sil-ezra., guix-commits, 2022/04/20
- 104/204: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/04/20
- 106/204: gnu: Add python-pytest-tornado., guix-commits, 2022/04/20
- 109/204: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/04/20
- 110/204: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/04/20
- 10/204: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/04/20
- 11/204: gnu: python-nbformat: Update to 5.3.0., guix-commits, 2022/04/20
- 12/204: gnu: Add texlive-paralist., guix-commits, 2022/04/20
- 18/204: gnu: Add texlive-zref.,
guix-commits <=
- 14/204: gnu: Add texlive-metalogo., guix-commits, 2022/04/20
- 25/204: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/04/20
- 34/204: gnu: Add python-ufoprocessor., guix-commits, 2022/04/20
- 29/204: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/04/20
- 35/204: gnu: Add python-ufonormalizer., guix-commits, 2022/04/20
- 41/204: gnu: Add python-types-freezegun., guix-commits, 2022/04/20
- 48/204: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/04/20
- 60/204: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/04/20
- 68/204: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/04/20
- 72/204: gnu: Add python-scikit-build., guix-commits, 2022/04/20