me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/tex.scm (texlive-pdfpages): New variable.
(texlive-latex-pdfpages): Deprecate variable.
* gnu/packages/docbook.scm (dblatex): Use new name.
master
Nicolas Goaziou 2022-03-09 01:06:54 +01:00
parent 7e2e7a34d1
commit 296398e672
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
2 changed files with 41 additions and 19 deletions

View File

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

View File

@ -6571,29 +6571,51 @@ that is untidy; this package (though it is no substitute for a properly
designed class) helps alleviate this untidiness.") designed class) helps alleviate this untidiness.")
(license license:lppl))) (license license:lppl)))
(define-public texlive-latex-pdfpages (define-public texlive-pdfpages
(package (let ((template (simple-texlive-package
(name "texlive-latex-pdfpages") "texlive-pdfpages"
(version (number->string %texlive-revision)) (list "doc/latex/pdfpages/"
(source (origin "source/latex/pdfpages/"
(method svn-fetch) "tex/latex/pdfpages/")
(uri (texlive-ref "latex" "pdfpages")) (base32
(file-name (string-append name "-" version "-checkout")) "0a68vxkygk20fp51fkp7nvs8mc7h6irdvxal8qsnn9zrgr965d76"))))
(sha256 (package
(base32 (inherit template)
"140kl8r7g2ak2frjn5pmwiwibfynyfwp897r9vk8pypmn390lzr2")))) (outputs '("out" "doc"))
(build-system texlive-build-system) (arguments
(arguments '(#:tex-directory "latex/pdfpages")) (substitute-keyword-arguments (package-arguments template)
(home-page "https://www.ctan.org/pkg/pdfpages") ((#:tex-directory _ '())
(synopsis "Include PDF documents in LaTeX") "latex/pdfpages")
(description ((#:build-targets _ '())
"This package simplifies the inclusion of external multi-page PDF #~(list "pdfpages.ins"))
((#:phases phases)
#~(modify-phases #$phases
(add-after 'unpack 'chdir
(lambda _
(chdir "source/latex/pdfpages")))
(replace 'copy-files
(lambda _
(let ((origin #$(package-source this-package))
(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))))))))
(propagated-inputs
(list texlive-tools texlive-oberdiek texlive-graphics texlive-eso-pic))
(home-page "https://ctan.org/macros/latex/contrib/pdfpages")
(synopsis "Include PDF documents in LaTeX")
(description
"This package simplifies the inclusion of external multi-page PDF
documents in LaTeX documents. Pages may be freely selected and it is possible documents in LaTeX documents. Pages may be freely selected and it is possible
to put several logical pages onto each sheet of paper. Furthermore a lot of to put several logical pages onto each sheet of paper. Furthermore a lot of
hypertext features like hyperlinks and article threads are provided. The hypertext features like hyperlinks and article threads are provided. The
package supports pdfTeX (pdfLaTeX) and VTeX. With VTeX it is even possible to package supports pdfTeX (pdfLaTeX) and VTeX. With VTeX it is even possible to
use this package to insert PostScript files, in addition to PDF files.") use this package to insert PostScript files, in addition to PDF files.")
(license license:lppl1.3+))) (license license:lppl1.3+))))
(define-deprecated-package texlive-latex-pdfpages texlive-pdfpages)
(define-public texlive-stmaryrd (define-public texlive-stmaryrd
(let ((template (simple-texlive-package (let ((template (simple-texlive-package