Archived
1
0
Fork 0

gnu: texlive-latex-subfigure: Rename to texlive-subfigure.

* gnu/packages/tex.scm (texlive-subfigure): New variable.
(texlive-latex-subfigure): Deprecated alias.
* gnu/packages/docbook.scm (dblatex): Use new name.
This commit is contained in:
Nicolas Goaziou 2022-03-09 00:20:33 +01:00
parent 4f407029bf
commit 4810804e72
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D
2 changed files with 39 additions and 19 deletions

View file

@ -478,7 +478,7 @@ the in DocBook SGML DTDs.")
texlive-latex-overpic texlive-latex-overpic
texlive-latex-pdfpages texlive-latex-pdfpages
texlive-refcount texlive-refcount
texlive-latex-subfigure texlive-subfigure
texlive-latex-titlesec texlive-latex-titlesec
texlive-wasysym texlive-wasysym

View file

@ -6591,23 +6591,41 @@ the whole font.")
(define-deprecated-package texlive-fonts-stmaryrd texlive-stmaryrd) (define-deprecated-package texlive-fonts-stmaryrd texlive-stmaryrd)
(define-public texlive-latex-subfigure (define-public texlive-subfigure
(package (let ((template (simple-texlive-package
(name "texlive-latex-subfigure") "texlive-subfigure"
(version (number->string %texlive-revision)) (list "doc/latex/subfigure/"
(source (origin "source/latex/subfigure/"
(method svn-fetch) "tex/latex/subfigure/")
(uri (texlive-ref "latex" "subfigure")) (base32
(file-name (string-append name "-" version "-checkout")) "1327ygajf6gza5msvhfjjnk6r3sw7vb7rxg23v4gx4dmyxqfqrbi"))))
(sha256 (package
(base32 (inherit template)
"15spcl5wb7w269qd6y596vp4yi8sa5ppcx8w4z2i9kyp02r3a0yb")))) (outputs '("out" "doc"))
(build-system texlive-build-system) (arguments
(arguments '(#:tex-directory "latex/subfigure")) (substitute-keyword-arguments (package-arguments template)
(home-page "https://www.ctan.org/pkg/subfigure") ((#:tex-directory _ '())
(synopsis "Figures divided into subfigures") "latex/subfigure")
(description ((#:build-targets _ '())
"This (deprecated) package provides support for the manipulation and #~(list "subfigure.ins"))
((#:phases phases)
#~(modify-phases #$phases
(add-after 'unpack 'chdir
(lambda _
(chdir "source/latex/subfigure")))
(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))))))))
(home-page "https://www.ctan.org/pkg/subfigure")
(synopsis "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 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 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 are to be separately captioned, referenced, or are to be included in the
@ -6616,7 +6634,9 @@ 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-public texlive-latex-tabulary (define-public texlive-latex-tabulary
(package (package