gnu: texlive-amsmath: Supersed 'texlive-latex-amsmath'.

* gnu/packages/tex.scm (texlive-latex-amsmath): Redefine as a deprecated
alias for 'texlive-amsmath'.
(texlive-base): Use 'texlive-amsmath' instead of 'texlive-latex-amsmath'.
* gnu/packages/python-xyz.scm (python-matplotlib-documentation)[native-inputs]:
Use 'texlive-amsmath instead of 'texlive-latex-amsmath'.
(python-nbconvert)[native-inputs]: Likewise.
* gnu/packages/radio.scm (gnuradio)[native-inputs]: Likewise.
(libosmo-dsp)[native-inputs]: Likewise.
This commit is contained in:
Ludovic Courtès 2022-05-08 11:53:10 +02:00
parent d08921adde
commit 3aafcdbd8b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
3 changed files with 7 additions and 36 deletions

View file

@ -6719,7 +6719,7 @@ (define-public python-matplotlib-documentation
("graphviz" ,graphviz)
("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
texlive-enumitem
texlive-latex-amsmath
texlive-amsmath
texlive-latex-expdlist
texlive-latex-geometry
texlive-latex-preview
@ -13053,7 +13053,7 @@ (define-public python-nbconvert
texlive-fonts-rsfs
texlive-generic-iftex
texlive-jknappen
texlive-latex-amsmath
texlive-amsmath
texlive-latex-fancyvrb
texlive-latex-float
texlive-fontspec

View file

@ -554,7 +554,7 @@ (define-public gnuradio
("python-scipy" ,python-scipy)
("python-sphinx" ,python-sphinx)
("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
texlive-latex-amsmath
texlive-amsmath
;; TODO: Add newunicodechar.
texlive-latex-graphics)))
("xorg-server" ,xorg-server-for-tests)))
@ -762,7 +762,7 @@ (define-public libosmo-dsp
("libtool" ,libtool)
("pkg-config" ,pkg-config)
("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
texlive-latex-amsmath
texlive-amsmath
;; TODO: Add newunicodechar.
texlive-latex-graphics)))))
(inputs

View file

@ -3768,37 +3768,6 @@ (define-public texlive-luaotfload
(define-deprecated-package texlive-luatex-luaotfload texlive-luaotfload)
(define-public texlive-latex-amsmath
(package
(name "texlive-latex-amsmath")
(version (number->string %texlive-revision))
(source (origin
(method svn-fetch)
(uri (texlive-ref "latex" "amsmath"))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"172zybw7rp05jca8wl6x0mh6z6gncdyi1j9wdfyjnhbvqw0z4wi4"))))
;; This package misses important files
(replacement texlive-amsmath)
(build-system texlive-build-system)
(arguments '(#:tex-directory "latex/amsmath"))
(home-page "https://www.ctan.org/pkg/amsmath")
(synopsis "AMS mathematical facilities for LaTeX")
(description
"This is the principal package in the AMS-LaTeX distribution. It adapts
for use in LaTeX most of the mathematical features found in AMS-TeX; it is
highly recommended as an adjunct to serious mathematical typesetting in LaTeX.
When amsmath is loaded, AMS-LaTeX packages @code{amsbsyamsbsy} (for bold
symbols), @code{amsopnamsopn} (for operator names) and
@code{amstextamstext} (for text embedded in mathematics) are also loaded.
This package is part of the LaTeX required distribution; however, several
contributed packages add still further to its appeal; examples are
@code{empheqempheq}, which provides functions for decorating and highlighting
mathematics, and @code{ntheoremntheorem}, for specifying theorem (and similar)
definitions.")
(license license:lppl1.3c+)))
(define-public texlive-amsmath
(let ((template (simple-texlive-package
"texlive-amsmath"
@ -3844,6 +3813,8 @@ (define-public texlive-amsmath
definitions.")
(license license:lppl1.3c+))))
(define-deprecated-package texlive-latex-amsmath texlive-amsmath)
(define-public texlive-amscls
(let ((template (simple-texlive-package
"texlive-amscls"
@ -4241,7 +4212,7 @@ (define-public texlive-base
texlive-latex-base
texlive-kpathsea ;for mktex.opt
;; LaTeX packages from the "required" set.
texlive-latex-amsmath
texlive-amsmath
texlive-amscls
texlive-babel
texlive-generic-babel-english