lua-users home
lua-l archive

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

Another suggestion:
  highlight -L -O . foo.lua
Cheers, E.

On Mon, Aug 29, 2011 at 10:12 PM, Alexander Gladysh <> wrote:
On Mon, Aug 29, 2011 at 20:38, Alexander Gladysh <> wrote:

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

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

Everyone who made suggestions, thank you!

After some extensive googling I've settled on Minted package — as it
does not require any additional motions for code to be highlighted...
It is a bit slow and has some bugs in highlighting, but is quite
bearable. (I blame the fact that it's backend is implemented in Python






print("Hallo, world!")