[luatex] Fatal error when removing nodelist's tail.

Paul Isambert zappathustra at free.fr
Sat Mar 3 12:21:42 CET 2012

Hello all,

The following code produces a fatal error:

  function (head)
    node.remove(head, node.tail(last))

The error is:
! This can't happen (linebreak_tail).
!  ==> Fatal error occurred, no output PDF file produced!

The same happens in the "kerning" callback. It also happens even if you add
another node after the tail (and then remove the latter). I know the manual says
something about the tail of the list being recalculated, but I wouldn't expect
that removing the tail would cause an error. As far as I can tell, the error
happens at paragraph-building time (i.e. in "linebreak_filter").

Am I doing something wrong, or contemplating a bug?


More information about the luatex mailing list