[NTG-context] loading hyphenation patterns (again)

Hans Hagen j.hagen at xs4all.nl
Tue Jul 10 19:44:36 CEST 2018


On 7/10/2018 5:20 PM, Pablo Rodriguez wrote:
> Dear list,
> 
> sorry for bothering with this again:
> 
>      \setuplanguage[agr][patterns={agr, en}]
>      \setuplanguage[en][patterns={en, agr}]
>      \starttext
>      \hyphenatedword{judgmental}
>      \agr\hyphenatedword{judgmental}
>      \stoptext
> 
> I wonder why English cannot have extra hyphenation patterns, while
> ancient Greek allows them.
> 
> Have I hit a bug or am I missing something?
> 
> Sorry for insisting, but I get weird results with column balancing
> (registers).
there are no patterns 'en', just 'us' and 'uk'

\enabletrackers[language*]

\setuplanguage[en] [patterns={us,agr}]
\setuplanguage[agr][patterns={us,agr}]
\setuplanguage[nl] [patterns={nl,agr}]
\setuplanguage[de] [patterns={de,agr}]

\starttext
     \en  \hyphenatedword{judgmental}
     \agr \hyphenatedword{judgmental}
     \nl  \hyphenatedword{judgmental}
     \de  \hyphenatedword{judgmental}

     \usemodule[languages-hyphenation]

     \startcomparepatterns[en,nl,de]
         judgmental
     \stopcomparepatterns

\stoptext




-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list