guix-commits
[Top][All Lists]
Advanced

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

197/416: gnu: texlive-caption: Refresh package definition.


From: guix-commits
Subject: 197/416: gnu: texlive-caption: Refresh package definition.
Date: Sun, 28 May 2023 02:32:46 -0400 (EDT)

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

commit 7d82da016e359fb824d06cff83832e8dbf6b3da8
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 19:30:39 2023 +0200

    gnu: texlive-caption: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-caption): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-GRAPHICS.
---
 gnu/packages/tex.scm | 46 ++++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d99e3edc18..e5802e8528 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10986,28 +10986,30 @@ customize the highlighted source code output using 
fancyvrb and fvextra.")
       (license license:lppl1.3+))))
 
 (define-public texlive-caption
-  (let ((template (simple-texlive-package
-                   "texlive-caption"
-                   (list "/doc/latex/caption/"
-                         "/tex/latex/caption/")
-                   (base32
-                    "1isnn375d14xsx398j3m8rbb0pdk12kijw4xcgl82xici170klwq")
-                   #:trivial? #t)))
-    (package
-      (inherit template)
-      (home-page "http://www.ctan.org/pkg/caption";)
-      (synopsis "Customising captions in floating environments")
-      (description "The @code{caption} package provides many ways to
-customise the captions in floating environments like figure and table.
-Facilities include rotating captions, sideways captions and continued
-captions (for tables or figures that come in several parts).  A list
-of compatibility notes, for other packages, is provided in the
-documentation.  The package also provides the \"caption outside
-float\" facility, in the same way that simpler packages like
-@code{capt-ofcapt-of} do.  The package supersedes @code{caption2}.
-Packages @code{bicaption}, @code{ltcaption} and @code{subcaption} are
-included in the bundle.")
-      (license license:lppl1.3+))))
+  (package
+    (name "texlive-caption")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/caption/" "source/latex/caption/"
+                   "tex/latex/caption/")
+             (base32
+              "1fg3zfgi54zqx911wbqfb1y24d9ihm6wg59npng4clnqz45lla2i")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-graphics))
+    (home-page "https://ctan.org/pkg/caption";)
+    (synopsis "Customising captions in floating environments")
+    (description
+     "The @code{caption} package provides many ways to customise the captions
+in floating environments like figure and table, and cooperates with many other
+packages.  Facilities include rotating captions, sideways captions, continued
+captions (for tables or figures that come in several parts).  A list of
+compatibility notes, for other packages, is provided in the documentation.
+The package also provides the caption outside float facility, in the same way
+that simpler packages like capt-of do.")
+    (license license:lppl1.3+)))
 
 (define-public texlive-symbol
   (package



reply via email to

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