[NTG-context] Omitting hyphenation

Hans Hagen pragma at wxs.nl
Tue Jun 22 09:18:10 CEST 2010


On 21-6-2010 10:22, Wolfgang Schuster wrote:
> Am 21.06.10 22:00, schrieb Hans Hagen:
>>> Wolfgang (who wonders why there is no context alternative for
>>> \hyphenation)
>>
>> so there is room for improvements
>>
>> \starttext
>> \dorecurse{50}{\kern\recurselevel\dimexpr.2pt\relax {\nohyphens
>> nothyphenatedword}, hyphenatedword }
>> \stoptext
>
> i should explain what i mean:
>
> when you try to make hyphenation exceptions for different languages you
> need currently
>
> \language[en]\hyphenation{expection list for english}
> \language[de]\hyphenation{expection list for german}
> ....
>
> but it would be nice to combine both in a single command, e.g.
>
> \setuphyphenation{exception list for the current active language} % like
> \hyphenation{...}
> \setuphyphenation[de]{exception list for german} % like
> \language[de]\hyphenation{...}

how about \startexceptions[de] ... \stopexceptions


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


More information about the ntg-context mailing list