[tex-hyphen] German hyphenation of "Methode"

Philip Taylor P.Taylor at Rhul.Ac.Uk
Thu Apr 9 16:21:58 CEST 2015



Élie Roux wrote:

> If I understand correctly, from TeX point of view, this would mean
> adding the following penalties:
>   - \hyphenpenaltyweighttwo
>   - \hyphenpenaltyweightthree
>   - \hyphenpenaltyweightfour
>   - \hyphenpenaltyweightfive
>   - \hyphenpenaltysuffix
>   - \hyphenpenaltyprefix
>   - \hyphenpenaltycompound
>   - \hyphenpenaltycompoundsuffix
>   - \hyphenpenaltycompoundprefix
>   - \hyphenpenaltycompoundinterfix
>   - \hyphenpenaltyunfavorable

OMG.  That looks like massive overkill.  Surely factor out the common 
elements and introduce only the bare minimum of new primitives :

\hyphenpenaltyforweight n m will handle the first four, where the 
existing \hyphenpenalty becomes a synonym for
\hyphenpenaltyforweight 1 m

As I don't understand the semantics of the latter seven, I cannot 
propose a simplification at this stage.

** Phil.



More information about the tex-hyphen mailing list