Hi, On 19 jun. 2011, at 21:44, Khaled Hosny <[email protected]> wrote:
> Hi all, > I just found that when node.insert_before() is executed on the very > first node in an hlist no nodes get inserted, I'm not sure if this is a > bug, feature or some dumb thing in the code I wrote. Tested with luatex > 0.70.1 and 0.67.0. I write this 'blind' now, but iirc node.insert_before() has a return value. But if not, remeber that variables do not auto-update themselves in side-effects in lua, so if you need to alter a list head, you will need to do something like head = newdir_var somewhere. > Hope this makes sense, Taco
