guix-commits
[Top][All Lists]
Advanced

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

30/47: gnu: Add texlive-latex-wrapfig.


From: Ricardo Wurmus
Subject: 30/47: gnu: Add texlive-latex-wrapfig.
Date: Mon, 17 Jul 2017 08:04:11 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 63ed869bdd785f6a05b0ea287cc0637ecfbc6f6f
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Jul 11 08:53:34 2017 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 432d10d..92bfd85 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3169,6 +3169,40 @@ lasy font set and other odds and ends.  The wasysym 
package implements an easy
 to use interface for these symbols.")
     (license license:lppl)))
 
+(define-public texlive-latex-wrapfig
+  (package
+    (name "texlive-latex-wrapfig")
+    (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/wrapfig"))
+                    (revision %texlive-revision)))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "16xpyl0csmmwndz1xhzqfg9l0zcsnqxslsixsqkwd4zsvfj30sv4"))))
+    (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/wrapfig")))
+           (mkdir-p target)
+           (copy-recursively (assoc-ref %build-inputs "source") target)
+           #t))))
+    (home-page "http://www.ctan.org/pkg/wrapfig";)
+    (synopsis "Produces figures which text can flow around")
+    (description
+     "This package allows figures or tables to have text wrapped around them.
+It does not work in combination with list environments, but can be used in a
address@hidden or @code{minipage}, and in two-column format.")
+    (license license:lppl)))
+
 (define-public texlive-latex-ucs
   (package
     (name "texlive-latex-ucs")



reply via email to

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