[luatex] again: breaking paragraphs into lines from lua

Patrick Gundlach patrick at gundla.ch
Thu Feb 25 20:32:56 CET 2010


Hi,

some time ago I asked if

\vbox{Hello world!}

could be done in Lua mode (inside \directlua{...}). I have learned that with node.hpack() it is possible to create an \hbox{}. There is no node.vpack() mentioned in the reference manual. Does node.vpack() exist? If yes: how can it be used?

As I understand Taco, the \vbox{...} thing can be done from Lua. But I still wonder how? Can I create a nodelist, invoke the line breaking algorithm and get back a vlist?

Patrick




More information about the luatex mailing list