gnu: texlive-subfigure: Refresh package definition.

* gnu/packages/tex.scm (texlive-subfigure): Remove SIMPLE-TEXLIVE-PACKAGE
call.
This commit is contained in:
Nicolas Goaziou 2023-05-15 23:36:10 +02:00
parent 04460871a7
commit 361507d5b2
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -7828,35 +7828,31 @@ (define-public texlive-subfig
(license license:lppl))) (license license:lppl)))
(define-public texlive-subfigure (define-public texlive-subfigure
(let ((template (simple-texlive-package (package
"texlive-subfigure" (name "texlive-subfigure")
(list "doc/latex/subfigure/" (version (number->string %texlive-revision))
"source/latex/subfigure/" (source (texlive-origin
"tex/latex/subfigure/") name version
(base32 (list "doc/latex/subfigure/"
"1327ygajf6gza5msvhfjjnk6r3sw7vb7rxg23v4gx4dmyxqfqrbi")))) "source/latex/subfigure/"
(package "tex/latex/subfigure/")
(inherit template) (base32
(outputs '("out" "doc")) "1327ygajf6gza5msvhfjjnk6r3sw7vb7rxg23v4gx4dmyxqfqrbi")))
(arguments (outputs '("out" "doc"))
(substitute-keyword-arguments (package-arguments template) (build-system texlive-build-system)
((#:tex-directory _ '()) (home-page "https://ctan.org/pkg/subfigure")
"latex/subfigure") (synopsis "Deprecated: Figures divided into subfigures")
((#:build-targets _ '()) (description
#~(list "subfigure.ins"))))
(home-page "https://www.ctan.org/pkg/subfigure")
(synopsis "Figures divided into subfigures")
(description
"This (deprecated) package provides support for the manipulation and "This (deprecated) package provides support for the manipulation and
reference of small or \"sub\" figures and tables within a single figure or reference of small, or sub, figures and tables within a single figure or table
table environment. It is convenient to use this package when your subfigures environment. It is convenient to use this package when your subfigures are to
are to be separately captioned, referenced, or are to be included in the be separately captioned, referenced, or are to be included in the
List-of-Figures. A new @code{\\subfigure} command is introduced which can be List-of-Figures. A new @code{\\subfigure} command is introduced which can be
used inside a figure environment for each subfigure. An optional first used inside a figure environment for each subfigure. An optional first
argument is used as the caption for that subfigure. The package is now argument is used as the caption for that subfigure. The package is now
considered obsolete: it was superseded by @code{subfig}, but users may find considered obsolete: it was superseded by @code{subfig}, but users may find
the more recent @code{subcaption} package more satisfactory.") the more recent @code{subcaption} package more satisfactory.")
(license license:lppl)))) (license license:lppl)))
(define-deprecated-package texlive-latex-subfigure texlive-subfigure) (define-deprecated-package texlive-latex-subfigure texlive-subfigure)