guix-commits
[Top][All Lists]
Advanced

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

96/435: gnu: Add texlive-luacode.


From: guix-commits
Subject: 96/435: gnu: Add texlive-luacode.
Date: Tue, 6 Jun 2023 11:39:24 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit c129c31271e439a71cdd583173a3b2801c3b2620
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 10:59:11 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 68fcb1c6a3..15022c2a9a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4203,6 +4203,32 @@ releases.  The bundle consists of a Lua script to run 
the tasks and a
 context of LuaTeX.")
     (license (list license:lppl1.3c license:expat))))
 
+(define-public texlive-luacode
+  (package
+    (name "texlive-luacode")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/lualatex/luacode/"
+                   "source/lualatex/luacode/"
+                   "tex/lualatex/luacode/")
+             (base32
+              "1dyld5yb57p3j7wz591plbgjy7dk7ngn8cxw1lfmvx8iprgk1f8d")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-iftex
+           texlive-luatexbase))
+    (home-page "https://ctan.org/pkg/luacode";)
+    (synopsis "Helper for executing Lua code from within TeX")
+    (description
+     "Executing Lua code from within TeX with directlua can sometimes be
+tricky: there is no easy way to use the percent character, counting
+backslashes may be hard, and Lua comments don't work the way you expect.  The
+package provides the @code{\\luaexec} command and the @code{luacode}
+environments to help with these problems.")
+    (license license:lppl1.3+)))
+
 (define-public texlive-lualatex-math
   (package
     (name "texlive-lualatex-math")



reply via email to

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