Manuel Mall wrote:

Hmm, just changed the value to 3000 (I think that's the value suggested in the article) and there is no change in hyphenation behaviour with the above mentioned example. That makes me a bit suspicious...

I traced the beheviour of the breaking algorithm applied to the first paragraph of the example (the one with 4 consevutive lines ending with a hyphen) and it seems to me that the algorithm works well: the chosen set of breaks has about 15000 demerits, while the existing three alternatives either have some more demerits and the same quantity of consecutive flagged lines or about 30000 demerits.

It seems that out example, and in particular its first paragraph, perfectly follow Murphy's laws!

Tomorrow I should have some time to implement hyphenation-ladder-count and fix the penalty values for justified / unjustified text.

Regards
    Luca

Reply via email to