me
/
guix
Archived
1
0
Fork 0

gnu: texlive-latex-refcount: Rename to texlive-refcount.

* gnu/packages/tex.scm (texlive-refcount): New variable.
(texlive-latex-refcount): Deprecated alias.
(texlive-hyperref):
* gnu/packages/docbook.scm (dblatex): Use new name.
master
Nicolas Goaziou 2022-03-06 11:52:45 +01:00
parent 09deb8a570
commit c63566c5cf
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
2 changed files with 40 additions and 16 deletions

View File

@ -477,7 +477,7 @@ the in DocBook SGML DTDs.")
texlive-latex-multirow texlive-latex-multirow
texlive-latex-overpic texlive-latex-overpic
texlive-latex-pdfpages texlive-latex-pdfpages
texlive-latex-refcount texlive-refcount
texlive-latex-subfigure texlive-latex-subfigure
texlive-latex-titlesec texlive-latex-titlesec
texlive-wasysym texlive-wasysym

View File

@ -3520,7 +3520,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.")
texlive-latex-kvoptions texlive-latex-kvoptions
texlive-letltxmacro texlive-letltxmacro
texlive-pdftexcmds texlive-pdftexcmds
texlive-latex-refcount texlive-refcount
texlive-latex-rerunfilecheck texlive-latex-rerunfilecheck
texlive-url)) texlive-url))
(home-page "https://www.ctan.org/pkg/hyperref") (home-page "https://www.ctan.org/pkg/hyperref")
@ -5025,24 +5025,48 @@ re-processing.")
(define-deprecated-package texlive-latex-pstool texlive-pstool) (define-deprecated-package texlive-latex-pstool texlive-pstool)
(define-public texlive-latex-refcount (define-public texlive-refcount
(package (let ((template (simple-texlive-package
(inherit (simple-texlive-package "texlive-refcount"
"texlive-latex-refcount" (list "doc/latex/refcount/"
(list "/doc/latex/refcount/" "source/latex/refcount/"
"/tex/latex/refcount/") "tex/latex/refcount/")
(base32 (base32
"0pkmqj2qihndlv3ks33xzqw91q46jx79r3aygj68d8dflyddi583") "128cvwdl4wcdshvs59yn5iljdxxdrc5jircbxav77y7kc3l33z7z"))))
#:trivial? #t)) (package
(home-page "https://www.ctan.org/pkg/refcount") (inherit template)
(synopsis "Counter operations with label references") (outputs '("out" "doc"))
(description (arguments
"This package provides the @code{\\setcounterref} and (substitute-keyword-arguments (package-arguments template)
((#:tex-directory _ '())
"latex/refcount")
((#:build-targets _ '())
#~(list "refcount.dtx"))
((#:phases phases)
#~(modify-phases #$phases
(add-after 'unpack 'chdir
(lambda _
(chdir "source/latex/refcount")))
(replace 'copy-files
(lambda* (#:key inputs #:allow-other-keys)
(let ((origin (assoc-ref inputs "source"))
(source (string-append #$output
"/share/texmf-dist/source"))
(doc (string-append #$output:doc
"/share/texmf-dist/doc")))
(copy-recursively (string-append origin "/source") source)
(copy-recursively (string-append origin "/doc") doc))))))))
(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 @code{\\addtocounterref} commands which use the section (or other) number
from the reference as the value to put into the counter. It also provides from the reference as the value to put into the counter. It also provides
@code{\\setcounterpageref} and @code{\\addtocounterpageref} that do the @code{\\setcounterpageref} and @code{\\addtocounterpageref} that do the
corresponding thing with the page reference of the label.") corresponding thing with the page reference of the label.")
(license license:lppl1.3c+))) (license license:lppl1.3c+))))
(define-deprecated-package texlive-latex-refcount texlive-refcount)
(define-public texlive-seminar (define-public texlive-seminar
(package (package