CTAN Comprehensive TeX Archive Network

CTAN updates: new package luacode & update of luatextra

Date: November 8, 2010 4:20:22 PM CET
Manuel Pégourié-Gonnard <mpg at elzevir.fr> wrote: > I just uploaded to the UK node an updated version of luatextra: > > > 2010/10/08 v0.99 > > * delegate definition of {luacode} and \luadirect to package luacode > > * raise an error rather than a warning when not running LuaTeX > > * load fixltx2e under LaTeX thanks for the update; i've installed the new version and updated the catalogue repository. Users may view the package's catalogue entry at http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/luatextra.html or browse the package's directory at http://www.tex.ac.uk/tex-archive/macros/luatex/generic/luatextra/ The catalogue entry will change (somewhat) overnight tonight. > and a new LLPL'ed package that grew out of luatextra: luacode. > > > 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. > > This package provides the \luaexec command and the luacode(*) > > environments to help with these problems. > > > > For an introduction to the most important gotchas of \directlua, see > > lualatex-doc.pdf. Before you start using the tools in this package, let me > > insist that the most robust way to manage a non-trivial piece of Lua code is > > to use an external file and source it from Lua, as explained in the cited > > document. > > > > 2010/11/08 v1.0 > > * initial version i've installed this new package and committed an entry to the catalogue repository for it. Users may view the package's catalogue entry at http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/luacode.html or browse the package's directory at http://www.tex.ac.uk/tex-archive/macros/luatex/latex/luacode/ The catalogue will not appear on the web until some time overnight tonight. Robin Fairbairns For the CTAN team

luacode – Helper for executing lua code from within

Executing Lua code from within 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.

Packageluacode
Version1.2a
MaintainerManuel Pégourié-Gonnard

Announcements

more

Guest Book Sitemap Contact Contact Author