guix-commits
[Top][All Lists]
Advanced

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

03/07: gnu: Add texlive-ifmtarg.


From: guix-commits
Subject: 03/07: gnu: Add texlive-ifmtarg.
Date: Mon, 3 May 2021 09:38:14 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 5874f8a051ba6696412b826a4313f27d9d5407cc
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon May 3 13:42:40 2021 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 6ad910f..2c039b7 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8113,6 +8113,34 @@ However, if your floats can’t be placed anywhere, 
extending the number of
 floats merely delays the arrival of the inevitable error message.")
       (license license:lppl1.3c+))))
 
+(define-public texlive-ifmtarg
+  (let ((template (simple-texlive-package
+                   "texlive-ifmtarg"
+                   (list "/doc/latex/ifmtarg/"
+                         "/source/latex/ifmtarg/")
+                   (base32
+                    "0cwjn4bhq9zyfxr1595hgyc1d7rcsf9lva55x98q81xy5xrrmrb2"))))
+    (package
+      (inherit template)
+      (arguments
+       (substitute-keyword-arguments (package-arguments template)
+         ((#:tex-directory _ '())
+          "latex/ifmtarg")
+         ((#:build-targets _ '())
+          ''("ifmtarg.ins"))
+         ((#:tex-format _ "latex") "latex")
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (add-after 'unpack 'chdir
+               (lambda _ (chdir "source/latex/ifmtarg")))))))
+      (inputs
+       `(("texlive-latex-filecontents" ,texlive-latex-filecontents)))
+      (home-page "https://www.ctan.org/pkg/ifmtarg";)
+      (synopsis "If-then-else command for processing potentially empty 
arguments")
+      (description "This package provides a command for the LaTeX programmer 
for
+testing whether an argument is empty.")
+      (license license:lppl1.3c+))))
+
 (define-public texlive-kastrup
   (package
     (name "texlive-kastrup")



reply via email to

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