guix-commits
[Top][All Lists]
Advanced

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

08/13: gnu: Add texlive-iftex.


From: guix-commits
Subject: 08/13: gnu: Add texlive-iftex.
Date: Thu, 5 Sep 2019 16:46:31 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 51bf1c518853badaebc48ac1144e5afd9b5862c2
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Sep 5 22:16:25 2019 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 0fdd970..b792e72 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7166,3 +7166,23 @@ or shading the cells of tables.")
 a different path and manipulating characters.  It includes the functionality
 of the old package @code{pst-char}.")
       (license license:lppl))))
+
+(define-public texlive-iftex
+  (let ((template (simple-texlive-package
+                   "texlive-iftex"
+                   (list "/doc/generic/iftex/"
+                         "/tex/generic/iftex/iftex.sty")
+                   (base32
+                    "089zvw31gby150n1k0zdk2c0q97pgbqs46phxydaqil64b55nnl7")
+                   #:trivial? #t)))
+    (package
+      (inherit template)
+      (home-page "http://www.ctan.org/pkg/iftex";)
+      (synopsis "Determine the currently used TeX engine")
+      (description "This package, which works both for Plain TeX and for
+LaTeX, defines the @code{\\ifPDFTeX}, @code{\\ifXeTeX}, and @code{\\ifLuaTeX}
+conditionals for testing which engine is being used for typesetting.  The
+package also provides the @code{\\RequirePDFTeX}, @code{\\RequireXeTeX}, and
+@code{\\RequireLuaTeX} commands which throw an error if pdfTeX, XeTeX or
+LuaTeX (respectively) is not the engine in use.")
+      (license license:lppl1.3+))))



reply via email to

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