[luatex] Calling TeX primitives inside lua?

Patrick Gundlach patrick at gundla.ch
Wed Feb 8 00:42:21 CET 2012

Am 08.02.2012 um 00:24 schrieb Andreas Matthias:

> Jumping to and fro just for sake of debugging is cumbersome.

not necessarily. You can define a "directtex()" method for jumping from Lua into TeX mode. See


But this has a few drawbacks (error handling, for example). And I don't know how well coroutines are supported on a future version of Lua/TeX/Jit.


More information about the luatex mailing list