mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
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.
This commit is contained in:
parent
7e2e7a34d1
commit
296398e672
2 changed files with 41 additions and 19 deletions
|
@ -476,7 +476,7 @@ (define-public dblatex
|
|||
texlive-listings
|
||||
texlive-latex-multirow
|
||||
texlive-latex-overpic
|
||||
texlive-latex-pdfpages
|
||||
texlive-pdfpages
|
||||
texlive-refcount
|
||||
texlive-subfigure
|
||||
texlive-titlesec
|
||||
|
|
|
@ -6571,20 +6571,40 @@ (define-public texlive-latex-parskip
|
|||
designed class) helps alleviate this untidiness.")
|
||||
(license license:lppl)))
|
||||
|
||||
(define-public texlive-latex-pdfpages
|
||||
(package
|
||||
(name "texlive-latex-pdfpages")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (origin
|
||||
(method svn-fetch)
|
||||
(uri (texlive-ref "latex" "pdfpages"))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(define-public texlive-pdfpages
|
||||
(let ((template (simple-texlive-package
|
||||
"texlive-pdfpages"
|
||||
(list "doc/latex/pdfpages/"
|
||||
"source/latex/pdfpages/"
|
||||
"tex/latex/pdfpages/")
|
||||
(base32
|
||||
"140kl8r7g2ak2frjn5pmwiwibfynyfwp897r9vk8pypmn390lzr2"))))
|
||||
(build-system texlive-build-system)
|
||||
(arguments '(#:tex-directory "latex/pdfpages"))
|
||||
(home-page "https://www.ctan.org/pkg/pdfpages")
|
||||
"0a68vxkygk20fp51fkp7nvs8mc7h6irdvxal8qsnn9zrgr965d76"))))
|
||||
(package
|
||||
(inherit template)
|
||||
(outputs '("out" "doc"))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments template)
|
||||
((#:tex-directory _ '())
|
||||
"latex/pdfpages")
|
||||
((#:build-targets _ '())
|
||||
#~(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
|
||||
|
@ -6593,7 +6613,9 @@ (define-public texlive-latex-pdfpages
|
|||
hypertext features like hyperlinks and article threads are provided. The
|
||||
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.")
|
||||
(license license:lppl1.3+)))
|
||||
(license license:lppl1.3+))))
|
||||
|
||||
(define-deprecated-package texlive-latex-pdfpages texlive-pdfpages)
|
||||
|
||||
(define-public texlive-stmaryrd
|
||||
(let ((template (simple-texlive-package
|
||||
|
|
Loading…
Reference in a new issue