[Dev-luatex] generalized hyphenation

Taco Hoekwater taco at elvenkind.com
Thu Feb 28 10:03:52 CET 2008

David Kastrup wrote:
> Taco Hoekwater <taco at elvenkind.com> writes:
>> Vladimir Volovich wrote:
>>> some languages need a lot of discretionaries for proper hyphenation, and
>>> allowing to specify whole-word exceptions with arbitary discretionaries
>>> is already a good step forward, but i wonder if you plan to extend the
>>> \patterns mechanism to support arbitrary discretionaries too?
>> For sure. Feel free to propose a syntax ;-)
> Of course, while we are at it, we want \patterns{a23b} to have the
> normal meaning of "2", but delivering a penalty corresponding to 70 when
> we have specified \hyphenpenalties 5 10 30 40 70 20 (similar to the
> widowpenalties multiplicity).  That allows specifying breakpoints with
> various priorities (good and bad ones).

I am having a hard time parsing this. How does the "3" relate to the
value "70"? Also, how do you propose to create such pattern files?

Best wishes,

More information about the dev-luatex mailing list