aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-05-15 19:30:39 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:11:33 +0200
commitcf6baca1f4685c4cd47f4c85a47337fd00a640a5 (patch)
tree92c571aead5f20c8fbcdba5709ac09964ac31161
parent6886a807b6c00fa7b0a1727233241007d6f06f7b (diff)
downloadguix-cf6baca1f4685c4cd47f4c85a47337fd00a640a5.tar.gz
guix-cf6baca1f4685c4cd47f4c85a47337fd00a640a5.zip
gnu: texlive-caption: Refresh package definition.
* gnu/packages/tex.scm (texlive-caption): Remove SIMPLE-TEXLIVE-PACKAGE call. [propagated-inputs]: Add TEXLIVE-GRAPHICS.
-rw-r--r--gnu/packages/tex.scm46
1 files changed, 24 insertions, 22 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index a73a530f15..98f6022e2f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10978,28 +10978,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