ngz pushed a commit to branch tex-team-next in repository guix. commit 6fadcaa90d03a3a9ce72bcefcb0eb45c06d4de2c Author: Nicolas Goaziou <m...@nicolasgoaziou.fr> AuthorDate: Mon May 15 23:36:10 2023 +0200
gnu: texlive-subfigure: Refresh package definition. * gnu/packages/tex.scm (texlive-subfigure): Remove SIMPLE-TEXLIVE-PACKAGE call. --- gnu/packages/tex.scm | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 4c2ef1db9c..0234d8d817 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7858,35 +7858,31 @@ caption for that subfigure.") (license license:lppl))) (define-public texlive-subfigure - (let ((template (simple-texlive-package - "texlive-subfigure" - (list "doc/latex/subfigure/" - "source/latex/subfigure/" - "tex/latex/subfigure/") - (base32 - "1327ygajf6gza5msvhfjjnk6r3sw7vb7rxg23v4gx4dmyxqfqrbi")))) - (package - (inherit template) - (outputs '("out" "doc")) - (arguments - (substitute-keyword-arguments (package-arguments template) - ((#:tex-directory _ '()) - "latex/subfigure") - ((#:build-targets _ '()) - #~(list "subfigure.ins")))) - (home-page "https://www.ctan.org/pkg/subfigure") - (synopsis "Figures divided into subfigures") - (description + (package + (name "texlive-subfigure") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/subfigure/" + "source/latex/subfigure/" + "tex/latex/subfigure/") + (base32 + "1327ygajf6gza5msvhfjjnk6r3sw7vb7rxg23v4gx4dmyxqfqrbi"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/subfigure") + (synopsis "Deprecated: Figures divided into subfigures") + (description "This (deprecated) package provides support for the manipulation and -reference of small or \"sub\" figures and tables within a single figure or -table environment. It is convenient to use this package when your subfigures -are to be separately captioned, referenced, or are to be included in the +reference of small, or sub, figures and tables within a single figure or table +environment. It is convenient to use this package when your subfigures are to +be separately captioned, referenced, or are to be included in the List-of-Figures. A new @code{\\subfigure} command is introduced which can be used inside a figure environment for each subfigure. An optional first 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 the more recent @code{subcaption} package more satisfactory.") - (license license:lppl)))) + (license license:lppl))) (define-deprecated-package texlive-latex-subfigure texlive-subfigure)