[luatex] [tex-hyphen] [lltx] towards non-standard hyphenation support in LuaTeX

Stephan Hennig mailing_list at arcor.de
Mon Jan 27 19:01:13 CET 2014

Am 27.01.2014 15:33, schrieb Stephan Hennig:

> But one thing to consider for such iterators:

Another thing, the iterator should be robust in the sense that a user
can replace first and last node of the current word, e.g., during
ligature building.

There can even be times when a manipulation needs to change nodes
outside the current word, e.g., insert a node before the first or after
the last node of a word.  For that reason, when returning two word nodes
n1,n2, the iterator should not save n2.next in the state, but rather the
next node returned as n1.  That way, on could insert/replace inter-word
nodes without wrecking havoc.

Best regards,
Stephan Hennig

More information about the luatex mailing list