On Mon, Sep 14, 2009 at 10:56 AM, Patrick Gundlach <[email protected]> wrote: >>> >>> Is it even possible to write this in Lua? I need to invoke the line >>> breaking >>> algorithm at some time, how do I do this in Lua? >> >> Write "what" ? > > \setbox0\vbox{long text that breaks into lines} > > and immediately afterwards get the dimensions of this box 0 > > I want to know if this can be done without any TeX code at all. Ah ok. No, I don't know -- but I will investigate
(I don't understand why you insist to drop TeX -- TeX and Lua cooperate.) -- luigi
