On Mon, Jul 4, 2011 at 9:06 AM, Paul Isambert <[email protected]> wrote: > Hello all, > > Problem 1: > %%% > \setbox0=\hbox{01} > > \directlua{ > local done > for n in node.traverse(tex.box[0].head) do > texio.write_nl("Considering " .. string.char(n.char)) > if not done then > local next = n.next > done = true > tex.box[0].head = node.remove(tex.box[0].head, n) > tex.box[0].head = node.remove(tex.box[0].head, next) > end > end} > > \box0 \bye > %%% I've no checked but does it change if you say local done=false ? -- luigi
- [luatex] Behavior of node lists. Paul Isambert
- Re: [luatex] Behavior of node lists. luigi scarso
- Re: [luatex] Behavior of node lists. luigi scarso
- Re: [luatex] Behavior of node lists. Taco Hoekwater
- Re: [luatex] Behavior of node lists. Paul Isambert
- Re: [luatex] Behavior of node lists... luigi scarso
- Re: [luatex] Behavior of node l... Paul Isambert
- Re: [luatex] Behavior of no... luigi scarso
- Re: [luatex] Behavior of no... Paul Isambert
- Re: [luatex] Behavior of node lists. Patrick Gundlach
- Re: [luatex] Behavior of node lists. Taco Hoekwater
- Re: [luatex] Behavior of node lists. Paul Isambert
