[luatex] Behavior of node lists.

Paul Isambert zappathustra at free.fr
Wed Jul 6 17:05:08 CEST 2011


Le 06/07/2011 15:43, Taco Hoekwater a écrit :
> On 07/04/11 09:06, Paul Isambert wrote:
>> The manual says you're in charge of ensuring that in
>> "node.insert_after(H, N, x)", N is in the list denoted by H. The thing
>> is, H doesn't seem to matter at all, unless it's nil:
> Actually H is also useful if N is nil (that is a tail-append the list
> that starts at H), but it is true that H is generally unused.

Good to learn that "node.insert_after(H, nil, x)" is equivalent to 
"node.insert_after(H, node.tail(H), x)". I'd always wondered why there 
was no shorthand to append a node at the end of a list.

Best,
Paul


More information about the luatex mailing list