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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to