[luatex] Calling TeX primitives inside lua?

Andreas Matthias andreas.matthias at gmail.com
Wed Feb 8 00:24:34 CET 2012


Patrick Gundlach wrote:

> Am 07.02.2012 um 20:31 schrieb Andreas Matthias:
> 
>> Is it possible to use TeX primitive like \showbox (or the
>> C-function show_box()) from within lua?
> 
> I don't know for sure, but my answer would be 'no'.
> 
> 
>> If not, will this eventually
>> be possible? Or should I write my own showbox in lua?
> 
> You can always use TeX to do that. Just jump back to TeX mode and use \showbox.

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

> And, if you're sick of showbox and want something more graphical, see
> 
> https://gist.github.com/556247

This is a very nice tool. I like it.


Ciao
Andreas



More information about the luatex mailing list