[luatex] lua equivalent of vbox...ht

luigi scarso luigi.scarso at gmail.com
Mon Sep 14 11:06:49 CEST 2009


On Mon, Sep 14, 2009 at 10:56 AM, Patrick Gundlach <patrick at gundla.ch> 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


More information about the luatex mailing list