[tex-hyphen] weighting hyphenation points
taco at elvenkind.com
Thu May 20 13:32:25 CEST 2010
Manuel Pégourié-Gonnard wrote:
> Le 20/05/2010 12:06, Taco Hoekwater a écrit :
>> Stephan Hennig wrote:
>>> That results in the following hyphenation weights:
>>> Text -20- il -0- lus -10- tra -15- ti -5- on
>>> Tal -20- ent -0- wäs -10- se -15- rung
>> My implementation plan for luatex 0.70 is to attach fixed penalty
>> values to each of the A-E pattern types. The cumulation of these
>> penalties are then stored inside the generated discretionaries.
>> So no 'weights', but actual TeX-style penalties.
> Sounds very nice.
> By the way, how would hyphenation exceptions fit into this model?
Exceptions and patterns are independent, so the only thing needed
is to devise a way to input hyphenation exceptions containing penalties.
Which is needed anyway, an extension to \discretionary is the logical
More information about the tex-hyphen