On 04/09/2015 10:04 AM, Élie Roux wrote: >> I think it's a very reasonable suggestion. I guess it wasn't in TeX >> originally because patgen could handle this, language wide. > > I'm sorry, I'm no expert in the field... I admit I don't really > understand what you mean by that? Do you mean that patgen can generate > exceptions for words < x letters? > >> A more nuanced approach (which might not be too much additional work): >> >> \shorthyphenpenalty : A hyphenation penalty to apply for short words, >> defaulting to something big but not impossible. >> \shorthyphenlen : length of a word to consider short. >> >> I can see this being a useful approach - it doesn't hyphenate short words >> normally, but it *can* if the alternative is really terrible (e.g. a small >> column which would otherwise be an overfull box). >> >> \shorthyphenlen would default to 1 so that existing documents are unaffected. > > A very interesting idea, I'll add it on > > http://tracker.luatex.org/view.php?id=930 >
I have been working on an international standard for hyphenation pattern definitions. The draft can be found here https://github.com/OpenTaal/hyphenation-definitions For that I have been collecting many real world examples for which patgen is not suitable. This will form the specifications for a next generation patgen. A community on whos work this RFC is based is already working better hyphenation. If you need more info, pleaes contact me. > Thank you! >
