[luatex] void box
Patrick Gundlach
patrick at gundla.ch
Tue Feb 7 22:52:56 CET 2012
Am 07.02.2012 um 18:48 schrieb Andreas Matthias:
>
> Actually I was just looking for a simple node as a starting point
> for a list of nodes which are generated in some kind of loop.
> I think an hlist node is very suitable for this:
>
>
> list = node.new(node.id('hlist'))
you can say: node.new("hlist")
> curr = list
>
> for i=0,5 do
> n = node.new(node.id('glyph'))
> n.font=1
> n.char=97+i
>
> curr.next = n
> curr = n
> end
that's fine, but you don't use 'list', right?
you can create a node chain and use node.hpack(mychain) to get a hbox. You don't need one from start.
Patrick
More information about the luatex
mailing list