guix-commits
[Top][All Lists]
Advanced

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

21/47: gnu: Add texlive-latex-capt-of.


From: Ricardo Wurmus
Subject: 21/47: gnu: Add texlive-latex-capt-of.
Date: Mon, 17 Jul 2017 08:04:10 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 7709d4d86a62c7b917de288bcfb72a5a0c8ad3fc
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Jul 10 22:39:54 2017 +0200

    gnu: Add texlive-latex-capt-of.
    
    * gnu/packages/tex.scm (texlive-latex-capt-of): New variable.
---
 gnu/packages/tex.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 5040433..3ac3c5b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1838,6 +1838,39 @@ recent classes such as powerdot or beamer, both of which 
are tuned to
 21st-century presentation styles.")
     (license license:lppl1.2+)))
 
+(define-public texlive-latex-capt-of
+  (package
+    (name "texlive-latex-capt-of")
+    (version (number->string %texlive-revision))
+    (source (origin
+              (method svn-fetch)
+              (uri (svn-reference
+                    (url (string-append "svn://www.tug.org/texlive/tags/"
+                                        %texlive-tag "/Master/texmf-dist/"
+                                        "/tex/latex/capt-of"))
+                    (revision %texlive-revision)))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "1y2s50f6lz0jx2748lj3iy56hrpcczgnbzmvphxv7aqndyyamd4x"))))
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (begin
+         (use-modules (guix build utils))
+         (let ((target (string-append (assoc-ref %outputs "out")
+                                      "/share/texmf-dist/tex/latex/capt-of")))
+           (mkdir-p target)
+           (copy-recursively (assoc-ref %build-inputs "source") target)
+           #t))))
+    (home-page "http://www.ctan.org/pkg/capt-of";)
+    (synopsis "Captions on more than floats")
+    (description
+     "This package defines a command @code{\\captionof} for putting a caption
+to something that's not a float.")
+    (license license:lppl)))
+
 (define-public texlive-latex-fncychap
   (package
     (name "texlive-latex-fncychap")



reply via email to

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