From f9f02c5d471d4f308534c6bf965aa87d4ccd8411 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 14 May 2023 10:22:41 +0200 Subject: [PATCH] gnu: texlive-latex-sidecap -> texlive-sidecap. * gnu/packages/tex.scm (texlive-sidecap): New variable. (texlive-latex-sidecap): Deprecate variable. --- gnu/packages/tex.scm | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 91b0d44e89..eb9b3b6914 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7532,24 +7532,32 @@ (define-public texlive-stix2-otf and alphabets with a set of text faces suitable for professional publishing.") (license license:silofl1.1)))) -(define-public texlive-latex-sidecap +(define-public texlive-sidecap (package - (inherit (simple-texlive-package - "texlive-latex-sidecap" - (list "doc/latex/sidecap/" - "tex/latex/sidecap/") - (base32 "1biyxvh7fm70pq1rxqrla2vs013bpsd1j8jvlyl3vjg433d5bly3") - #:trivial? #t)) + (name "texlive-sidecap") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/sidecap/" + "source/latex/sidecap/" + "tex/latex/sidecap/") + (base32 + "0bjb514a6j90ad7dgyyzrwk6pp7rlb3zk9mfy0fv5a615a5gz82x"))) + (outputs '("out" "doc")) (build-system texlive-build-system) + (propagated-inputs + (list texlive-ragged2e)) (home-page "https://ctan.org/pkg/sidecap") (synopsis "Typeset captions sideways") (description - "@code{sidecap} defines environments called @code{SCfigure} and -@code{SCtable} (analogous to @code{figure} and @code{table}) to typeset + "The @code{sidecap} package defines environments called @code{SCfigure} +and @code{SCtable} (analogous to @code{figure} and @code{table}) to typeset captions sideways. Options include @code{outercaption}, @code{innercaption}, @code{leftcaption} and @code{rightcaption}.") (license license:lppl1.0+))) +(define-deprecated-package texlive-latex-sidecap texlive-sidecap) + (define-public texlive-stmaryrd (let ((template (simple-texlive-package "texlive-stmaryrd"