gnu: texlive-unicode-math: Remove SIMPLE-TEXLIVE-PACKAGE call.

* gnu/packages/tex.scm (texlive-unicode-math!): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[propagated-inputs]: Add TEXLIVE-AMSMATH, TEXLIVE-FONTSPEC, TEXLIVE-L3KERNEL,
TEXLIVE-L3PACKAGES, TEXLIVE-LM-MATH, TEXLIVE-LUALATEX-MATH.
[description]: Add commas at the end of items for an improved typographic core.
This commit is contained in:
Nicolas Goaziou 2023-05-18 14:11:30 +02:00
parent 65eb3ff97d
commit b45b6210d4
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -12476,49 +12476,43 @@ (define-deprecated-package texlive-latex-textpos texlive-textpos)
(define-public texlive-unicode-math (define-public texlive-unicode-math
(package (package
(inherit (simple-texlive-package (name "texlive-unicode-math")
"texlive-unicode-math" (version (number->string %texlive-revision))
(list "source/latex/unicode-math/" (source (texlive-origin
"doc/latex/unicode-math/" name version
"tex/latex/unicode-math/unicode-math-table.tex") (list "doc/latex/unicode-math/"
(base32 "1j3041dcm7wqj0x26rxm9bb7q4xa1rqsqynqdb6cbjk3jmfvskxn"))) "source/latex/unicode-math/"
"tex/latex/unicode-math/")
(base32
"0w5gp11ccc486lckzag63arg97g1r0zkf29bdnnk13pz4r5m2lgx")))
(outputs '("out" "doc")) (outputs '("out" "doc"))
(arguments (build-system texlive-build-system)
(list (arguments (list #:tex-format "xelatex"))
#:tex-directory "latex/unicode-math" (propagated-inputs
#:tex-format "xelatex" (list texlive-amsmath
#:phases texlive-fontspec
#~(modify-phases %standard-phases texlive-l3kernel
(add-after 'unpack 'copy-files texlive-l3packages
;; The documentation isn't built. texlive-lm-math
(lambda* (#:key outputs tex-directory #:allow-other-keys) texlive-lualatex-math))
(let ((doc (assoc-ref outputs "doc"))
(tex (string-append #$output "/share/texmf-dist/tex/"
tex-directory)))
;; Install documentation.
(mkdir-p (string-append doc "/share/texmf-dist/doc" ))
(copy-recursively "doc" doc)
;; Install unicode-math-table.tex, which is not
;; built.
(install-file "tex/latex/unicode-math/unicode-math-table.tex"
tex)))))))
(home-page "https://ctan.org/pkg/unicode-math") (home-page "https://ctan.org/pkg/unicode-math")
(synopsis "Unicode mathematics support for XeTeX and LuaTeX") (synopsis "Unicode mathematics support for XeTeX and LuaTeX")
(description "This package will provide a complete implementation of (description
Unicode maths for XeLaTeX and LuaLaTeX. Unicode maths is currently supported "This package will provide a complete implementation of unicode maths for
by the following fonts: XeLaTeX and LuaLaTeX. Unicode maths is currently supported by the following
fonts:
@itemize @itemize
@item Latin Modern Math @item Latin Modern Math,
@item TeX Gyre Bonum Math @item TeX Gyre Bonum Math,
@item TeX Gyre Pagella Math @item TeX Gyre Pagella Math,
@item TeX Gyre Schola Math @item TeX Gyre Schola Math,
@item TeX Gyre Termes Math @item TeX Gyre Termes Math,
@item DejaVu Math TeX Gyre @item DejaVu Math TeX Gyre,
@item Asana-Math @item Asana-Math fonts,
@item STIX @item STIX,
@item XITS Math @item XITS Math,
@item Libertinus Math @item Libertinus Math,
@item Fira Math @item Fira Math.
@end itemize") @end itemize")
(license license:lppl1.3c+))) (license license:lppl1.3c+)))