David Kastrup wrote:
Taco Hoekwater <[email protected]> writes:
You can already re-break the paragraph with the current tex.linebreak:
just create a copy of the node list before feeding it in, and loop
over the output boxes. tex.linebreak does not remove or reallocate
those existing nodes, at most it hides them in discretionaries inside
hlists. Probably this is not quite what you had in mind, though.
Fiddle and reiterate might do the trick most of the time, but it feels
artificial in contrast to doing it in one pass "as intended" rather than
brute-forcing an efficient algorithm iteratively.
I agree, and that is an important drive behind the wish for a pure
lua solution.
Best wishes,
Taco
_______________________________________________
dev-luatex mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-luatex