[NTG-context] Suboptimal German hyphenation

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Thu Sep 29 06:10:03 CEST 2022


Max Chernoff via ntg-context schrieb am 29.09.2022 um 02:17:
> Hi Leah,
>
>> I was typesetting some German text on a narrow page when I discovered
>> the justification wasn't as good as expected.  I think I tracked this
>> down to differences in hyphenation points, namely, ConTeXt has fewer:
>>
>> \starttext
>> \language[de]
>> \showhyphens{Zusammenhang}
>> \showhyphens{anderswo}
>> \showhyphens{anderswoher}
>> \stoptext
>>
>> This shows
>> languages       > hyphenation > show: Zusam[-||]men[-||]hang
>> languages       > hyphenation > show: anderswo
>> languages       > hyphenation > show: anders[-||]wo[-||]her
> Babel/ngerman sets left/righthyphenmin to 2/2, but ConTeXt sets those to
> 3/3 for German. (The English default is 2/3). I don't speak German so I
> have no idea which is correct, but you can get the same behaviour in
> ConTeXt with:
>
>     \mainlanguage[de]
>     \lefthyphenmin=2
>     \righthyphenmin=2

You can use \setuplanguage to change the values.

\setuplanguage
   [de]
   [ lefthyphenmin=2,
    righthyphenmin=2]

Wolfgang



More information about the ntg-context mailing list