Knuth and Plass line-breaking Revisited
defoe.sourceforge.net
defoe.sourceforge.net
I find pagination much easier to read than scrolling.
I prefer pagination on a longer text that is meant to be read linearly but scrolling and scanning for a typical web page text.
But then I also prefer pagination on devices that actually are meant for it. Reading a book on a laptop screen is an inferior experience to reading it on paper or at least on a dedicated hardware e-book reader.
Jakob Nielsen's AlertBox columns suggest the same thing: http://www.nngroup.com/articles/how-users-read-on-the-web/ http://www.nngroup.com/articles/f-shaped-pattern-reading-web... http://www.nngroup.com/articles/website-reading/
Nevertheless, your experiment looks good although I had to make my browser windows smaller. Before I only saw one page because there is not enough text to trigger pagination.
Just to clarify: Do you mean just breaking on whole words, with no hyphenation looks better with Knuth/Plass than typical browser line breaking?
http://www.vpri.org/pdf/tr2011004_steps11.pdf (Look for the "Text Objects" headline)
And I think this essay is a write-up that focuses more on just that part (the STEPS report is on the entire system):
http://www.vpri.org/pdf/m2010001_pobjects.pdf
I haven't really experimented with neither TeX/Knuth or the approach from STEPS -- but while java isn't all that well suited to object oriented programming (As in: allocating a full object for each letter) -- it might be worth taking a look at. If nothing else, RAM is still getting cheaper.
I'm interested that rivers are such a concern of manual typesetting but I have never heard mention of it in typesetting algorithms.
If you're trying to avoid rivers, then based on information after point X you might find that your sequence of breaks B wasn't actually the best after all, because it ended up interacting badly with later spaces and producing rivers. So you can no longer prove that you've achieved a global optimum of the penalty function.
Of course you may be willing to take this hit and settle for non-optimum line-breaking (and you still might do better than an algorithm that doesn't take rivers into account at all).
On my laptop Firefox: View/Page Styles/No Styles. Renders in glorious 1990s properly flowed, un-fucked-with text that you can do anything you want with.
I don't browse on my phone enough to know if that's available on a phone browser.
That said, pretty layout and MS Word isn't really something I expect to ever see...