Quote:
Originally Posted by Jellby
I don't think there's anything in (La)TeX to avoid rivers, other than a human operator checking the output and maybe tweaking the parameters.
|
I believe that you're correct that it does not directly address rivers, although the Knuth/Plass algorithm will seek to minimize the amount of additional white space ("glue") per line, which will help reduce rivers.
Quote:
I agree too, but the algorithms are implemented by the reader software. I doubt the formats have any specification for the line-breaking algorithm. In principle, an e-book reader program could use a TeX-like breaking algorithm, and would give definitely better output.
|
According to Wikipedia, the only tool other than TeX that implements KP justification is Adobe Indesign*. I'd love to see some of the reader software implement something better than first-fit, although given the slow CPUs in devices like the Sony, re-paginating would be incredibly painful.
*: Although fmt(1) and Perl's Text::Reflow both support it, too.