[luatex] tex.linebreak - overfull hbox
patrick at gundla.ch
Fri Dec 5 13:30:40 CET 2014
I believe I have asked this question before (sorry). When I call tex.linebreak(): is there a way to find out if a "overfull hbox" message occurred (without parsing the log file)?
I want to reformat a paragraph until no line sticks over the right margin by increasing some parameters such as emergencystretch. I can now look at the result and call node.dimensions for every line, but I am looking for an easier (and cheaper) way.
More information about the luatex