guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

87/409: gnu: texlive-latex-sidecap -> texlive-sidecap.


From: guix-commits
Subject: 87/409: gnu: texlive-latex-sidecap -> texlive-sidecap.
Date: Sat, 20 May 2023 04:02:27 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit 199a69776eceff4206095b67627987dfc8914b5d
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 10:22:41 2023 +0200

    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 7445f8421a..2fa6d3bdc6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7540,24 +7540,32 @@ They combine a comprehensive Unicode-based collection 
of mathematical symbols
 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]