guix-commits
[Top][All Lists]
Advanced

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

03/09: gnu: Add texlive-storebox.


From: guix-commits
Subject: 03/09: gnu: Add texlive-storebox.
Date: Tue, 4 May 2021 09:17:49 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 2f99cf3f38f656ec94bc3517208cabb0350f6cfe
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 4 15:09:34 2021 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index fd7272f..9c00fc6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8267,6 +8267,35 @@ the conditional @code{\\ifoddpageoronside} is provided 
which is also true in
 @code{oneside} mode where all pages use the odd page layout.")
       (license license:lppl1.3))))
 
+(define-public texlive-storebox
+  (let ((template (simple-texlive-package
+                   "texlive-storebox"
+                   (list "/source/latex/storebox/")
+                   (base32
+                    "1ybpjfrria57fwvr9kriiw6y76ivwvsyb6ayp0bi750smsv8k5n1"))))
+    (package
+      (inherit template)
+      (arguments
+       (substitute-keyword-arguments (package-arguments template)
+         ((#:tex-directory _ '())
+          "latex/storebox")
+         ((#:build-targets _ '())
+          ''("storebox.ins"))
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (add-after 'unpack 'chdir
+               (lambda _ (chdir "source/latex/storebox")))))))
+      (native-inputs
+       `(("texlive-ydoc" ,texlive-ydoc)))
+      (home-page "https://www.ctan.org/pkg/storebox";)
+      (synopsis "Storing information for reuse")
+      (description "The package provides \"store boxes\" whose user interface
+matches that of normal LaTeX \"save boxes\", except that the content of a
+store box appears at most once in the output PDF file, however often it is
+used.  The present version of the package supports pdfLaTeX and LuaLaTeX; when
+DVI is output, store boxes behave the same as save boxes.")
+      (license license:lppl1.3))))
+
 (define-public texlive-kastrup
   (package
     (name "texlive-kastrup")



reply via email to

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