[luatex] The node returned by node.traverse().

Patrick Gundlach patrick at gundla.ch
Thu Feb 16 08:58:40 CET 2012


> 
> local function NodeNumber (n)
>  return tostring(n):match("<%s+(%d+)%s+>")
> end
> 
> which can then be used as an index, under the assumption that node
> numbers are never reused.

Taco once wrote here

"This number uniquely identifies a node for as long as it stays
allocated, yes. If it is freed, a new node may have the same
number."

Patrick



More information about the luatex mailing list