lua-users home
lua-l archive

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


Hey Alexander,

Does anyone know how to teach LaTeX to highlight Lua code?

The listings package does not seem to support it...

LXSH contains a Lua lexer and supports LaTeX output. It depends on LPeg and can be installed with LuaRocks using "luarocks install lxsh". On the homepage you can find links to some example PDF files generated using LXSH and Tex Live: http://peterodding.com/code/lua/lxsh/

 - Peter