me
/
guix
Archived
1
0
Fork 0

gnu: Replace texlive-latex-hyperref with texlive-hyperref.

* gnu/packages/tex.scm (texlive-latex-hyperref): Deprecate in favor of...
(texlive-hyperref): ...this new variable.
master
Ricardo Wurmus 2020-10-28 23:22:47 +01:00
parent ad5dddc610
commit c9ef13bb19
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 33 additions and 25 deletions

View File

@ -2842,30 +2842,35 @@ tables.")
(define-public texlive-latex-xcolor (define-public texlive-latex-xcolor
(deprecated-package "texlive-latex-xcolor" texlive-xcolor)) (deprecated-package "texlive-latex-xcolor" texlive-xcolor))
(define-public texlive-latex-hyperref (define-public texlive-hyperref
(package (let ((template (simple-texlive-package
(name "texlive-latex-hyperref") "texlive-hyperref"
(version "6.84a2") (list "/doc/latex/hyperref/"
;; The sources in the TeX Live SVN repository do not contain hluatex.dtx, "/source/latex/hyperref/"
;; so we fetch the release from GitHub. ;; These files are not generated from the sources
(source (origin "/tex/latex/hyperref/hylatex.ltx"
(method git-fetch) "/tex/latex/hyperref/minitoc-hyper.sty"
(uri (git-reference "/tex/latex/hyperref/ntheorem-hyper.sty"
(url "https://github.com/ho-tex/hyperref") "/tex/latex/hyperref/xr-hyper.sty")
(commit (string-append "release-" version)))) (base32
(file-name (git-file-name name version)) "1074rnymyf7xj2ggajnijmy1p7avfjl216qyi86p38wg0qdf48zd"))))
(sha256 (package
(base32 (inherit template)
"186x6qmzyr51sfi9zkpgf5js8mn0qfryqdvwbfg58pyilw1l3vkm")))) (arguments
(build-system texlive-build-system) (substitute-keyword-arguments (package-arguments template)
(arguments '(#:tex-directory "latex/hyperref")) ((#:tex-directory _ #t)
(propagated-inputs "latex/hyperref")
`(("texlive-latex-oberdiek" ,texlive-latex-oberdiek) ; for ltxcmds.sty ((#:phases phases)
("texlive-latex-url" ,texlive-latex-url))) `(modify-phases ,phases
(home-page "https://www.ctan.org/pkg/hyperref") (add-after 'unpack 'chdir
(synopsis "Extensive support for hypertext in LaTeX") (lambda _ (chdir "source/latex/hyperref") #t))))))
(description (propagated-inputs
"The @code{hyperref} package is used to handle cross-referencing commands `(("texlive-latex-oberdiek" ,texlive-latex-oberdiek) ; for ltxcmds.sty
("texlive-latex-url" ,texlive-latex-url)))
(home-page "https://www.ctan.org/pkg/hyperref")
(synopsis "Extensive support for hypertext in LaTeX")
(description
"The @code{hyperref} package is used to handle cross-referencing commands
in LaTeX to produce hypertext links in the document. The package provides in LaTeX to produce hypertext links in the document. The package provides
backends for the @code{\\special} set defined for HyperTeX DVI processors; for backends for the @code{\\special} set defined for HyperTeX DVI processors; for
embedded @code{pdfmark} commands for processing by Acrobat embedded @code{pdfmark} commands for processing by Acrobat
@ -2873,7 +2878,10 @@ Distiller (@code{dvips} and Y&Y's @code{dvipsone}); for Y&Y's @code{dviwindo};
for PDF control within pdfTeX and @code{dvipdfm}; for TeX4ht; and for VTeX's for PDF control within pdfTeX and @code{dvipdfm}; for TeX4ht; and for VTeX's
pdf and HTML backends. The package is distributed with the @code{backref} and pdf and HTML backends. The package is distributed with the @code{backref} and
@code{nameref} packages, which make use of the facilities of @code{hyperref}.") @code{nameref} packages, which make use of the facilities of @code{hyperref}.")
(license license:lppl1.3+))) (license license:lppl1.3+))))
(define-public texlive-latex-hyperref
(deprecated-package "texlive-latex-hyperref" texlive-hyperref))
(define-public texlive-latex-oberdiek (define-public texlive-latex-oberdiek
(package (package