Luca Furini wrote:
- sometimes, when a particularly elegant output is needed, it would really be desirable to have a two-steps algorithm, with line-breaking performed again once the actual width of each object is known.
Well, it's not for particular elegant output, it's for the case of having multiple page number citations which point to five digit page numbers in the same line. Real life examples include references to page numbers in roman number format, which easily get into the six character range, and enumerating references in book indices, where the problem is may be amplified as an index is usually set in several narrow columns. J.Pietschmann