[luatex] node missing

Paul Isambert zappathustra at free.fr
Sun Jan 22 17:50:32 CET 2012

Andreas Matthias <andreas.matthias at gmail.com> a écrit:
> In the following example I expected \mybox to contain `abc'
> eventually. Instead it only contains `bc'. Why is the `a'
> missing?

You must assign n1 to box.head, as in

      n1.next = box.head
      box.head = n1       
      tail = node.slide(n1)

otherwise the box still points to its former head as its first node
(which has indeed n1 as its prev node, but it is ignored because scanning
begins at the former head).


More information about the luatex mailing list