This package browser is in early development. Mind the rough edges.

texlive-luacode 2025.2

Helper for executing Lua code from within TeX

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 \luaexec command and the luacode environments to help with these problems.

Installation

Install texlive-luacode 2025.2 as follows:

guix install texlive-luacode@2025.2

Or install the latest version:

guix install texlive-luacode

The texlive-luacode package provides more outputs besides the default (out). You can install them by appending :output-name to the package specification. For example:

guix install texlive-luacode:doc

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.