[luatex] Calling TeX primitives inside lua?

Patrick Gundlach patrick at gundla.ch
Tue Feb 7 22:55:20 CET 2012


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.

And, if you're sick of showbox and want something more graphical, see

https://gist.github.com/556247

Patrick




More information about the luatex mailing list