gnu: Add texlive-pdftexcmds.
* gnu/packages/tex.scm (texlive-pdftexcmds): New variable. (texlive-latex-pdftexcmds): Deprecate variable. (texlive-hyperref): (texlive-latex-rerunfilecheck): (texlive-generic-bigintcalc): Use new variable. * gnu/packages/plotutils.scm (asymptote): Use new variable.
This commit is contained in:
parent
f172118ca4
commit
69f284a35f
2 changed files with 47 additions and 23 deletions
|
@ -304,10 +304,10 @@ colors, styles, options and details.")
|
||||||
texlive-latex-graphics
|
texlive-latex-graphics
|
||||||
texlive-latex-kvoptions
|
texlive-latex-kvoptions
|
||||||
texlive-latex-media9
|
texlive-latex-media9
|
||||||
texlive-latex-ocgx2
|
|
||||||
texlive-latex-pdftexcmds
|
|
||||||
texlive-oberdiek ;for ifluatex
|
texlive-oberdiek ;for ifluatex
|
||||||
|
texlive-latex-ocgx2
|
||||||
texlive-latex-parskip
|
texlive-latex-parskip
|
||||||
|
texlive-pdftexcmds
|
||||||
texlive-tex-texinfo))))
|
texlive-tex-texinfo))))
|
||||||
(inputs
|
(inputs
|
||||||
(list fftw
|
(list fftw
|
||||||
|
|
|
@ -3402,7 +3402,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.")
|
||||||
texlive-latex-hycolor
|
texlive-latex-hycolor
|
||||||
texlive-latex-kvoptions
|
texlive-latex-kvoptions
|
||||||
texlive-latex-letltxmacro
|
texlive-latex-letltxmacro
|
||||||
texlive-latex-pdftexcmds
|
texlive-pdftexcmds
|
||||||
texlive-latex-refcount
|
texlive-latex-refcount
|
||||||
texlive-latex-rerunfilecheck
|
texlive-latex-rerunfilecheck
|
||||||
texlive-url))
|
texlive-url))
|
||||||
|
@ -3468,7 +3468,7 @@ arrows; record information about document class(es) used; and many more.")
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list texlive-generic-infwarerr texlive-generic-uniquecounter
|
(list texlive-generic-infwarerr texlive-generic-uniquecounter
|
||||||
texlive-latex-atveryend texlive-latex-kvoptions
|
texlive-latex-atveryend texlive-latex-kvoptions
|
||||||
texlive-latex-pdftexcmds))
|
texlive-pdftexcmds))
|
||||||
(home-page "https://www.ctan.org/pkg/rerunfilecheck")
|
(home-page "https://www.ctan.org/pkg/rerunfilecheck")
|
||||||
(synopsis "Checksum based rerun checks on auxiliary files")
|
(synopsis "Checksum based rerun checks on auxiliary files")
|
||||||
(description
|
(description
|
||||||
|
@ -4810,24 +4810,48 @@ Unicode characters. The document should be processed by (pdf)LaTeX with the
|
||||||
Unicode option of @code{inputenc} or @code{inputenx}, or by XeLaTeX/LuaLaTeX.")
|
Unicode option of @code{inputenc} or @code{inputenx}, or by XeLaTeX/LuaLaTeX.")
|
||||||
(license license:lppl1.3c+)))
|
(license license:lppl1.3c+)))
|
||||||
|
|
||||||
(define-public texlive-latex-pdftexcmds
|
(define-public texlive-pdftexcmds
|
||||||
(package
|
(let ((template (simple-texlive-package
|
||||||
(inherit (simple-texlive-package
|
"texlive-pdftexcmds"
|
||||||
"texlive-latex-pdftexcmds"
|
(list "doc/generic/pdftexcmds/"
|
||||||
'("/doc/generic/pdftexcmds/"
|
"source/generic/pdftexcmds/"
|
||||||
"/tex/generic/pdftexcmds/")
|
"tex/generic/pdftexcmds/")
|
||||||
(base32
|
(base32
|
||||||
"1hph0djbfc8hlwfc41rzlf8l3ccyyvc0n7a0qdrr9881jwd6iv1b")
|
"0gad1vi0r5xw7gyj1cb2cp58j4dqrw4awcfxmfrna9xbz91g4sn9"))))
|
||||||
#:trivial? #t))
|
(package
|
||||||
(propagated-inputs
|
(inherit template)
|
||||||
(list texlive-generic-iftex texlive-generic-infwarerr
|
(outputs '("out" "doc"))
|
||||||
texlive-generic-ltxcmds))
|
(arguments
|
||||||
(home-page "https://www.ctan.org/pkg/pdftexcmds")
|
(substitute-keyword-arguments (package-arguments template)
|
||||||
(synopsis "LuaTeX support for pdfTeX utility functions")
|
((#:tex-directory _ '())
|
||||||
(description
|
"generic/pdftexcmds")
|
||||||
"This package makes a number of utility functions from pdfTeX
|
((#:build-targets _ '())
|
||||||
available for luaTeX by reimplementing them using Lua.")
|
#~(list "pdftexcmds.dtx"))
|
||||||
(license license:lppl1.3c+)))
|
((#:phases phases)
|
||||||
|
#~(modify-phases #$phases
|
||||||
|
(add-after 'unpack 'chdir
|
||||||
|
(lambda _
|
||||||
|
(chdir "source/generic/pdftexcmds")))
|
||||||
|
(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))))))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list texlive-generic-iftex texlive-generic-infwarerr
|
||||||
|
texlive-generic-ltxcmds))
|
||||||
|
(home-page "https://www.ctan.org/pkg/pdftexcmds")
|
||||||
|
(synopsis "LuaTeX support for pdfTeX utility functions")
|
||||||
|
(description
|
||||||
|
"This package makes a number of utility functions from pdfTeX
|
||||||
|
available for LuaTeX by reimplementing them using Lua.")
|
||||||
|
(license license:lppl1.3c+))))
|
||||||
|
|
||||||
|
(define-deprecated-package texlive-latex-pdftexcmds texlive-pdftexcmds)
|
||||||
|
|
||||||
(define-public texlive-latex-psfrag
|
(define-public texlive-latex-psfrag
|
||||||
(package
|
(package
|
||||||
|
@ -7948,7 +7972,7 @@ be used either with LaTeX or with plain TeX.")
|
||||||
"19grk4p1dh566hgpzhnjyjnrw57hpjijcpr7ci401n9jszcc1xkz")
|
"19grk4p1dh566hgpzhnjyjnrw57hpjijcpr7ci401n9jszcc1xkz")
|
||||||
#:trivial? #t))
|
#:trivial? #t))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list texlive-latex-pdftexcmds))
|
(list texlive-pdftexcmds))
|
||||||
(home-page "https://www.ctan.org/pkg/bigintcalc")
|
(home-page "https://www.ctan.org/pkg/bigintcalc")
|
||||||
(synopsis "Integer calculations on very large numbers")
|
(synopsis "Integer calculations on very large numbers")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue