At 03:15 AM 9/12/2001 +0300, Olya Briginets wrote:
>Hello ConTeXt gurus,
>
>Is there a way to set some assignments in particular language only?
>
>I have the following problem: in ukrainian, apostrophe (') is a letter and
>should have lccode 39 to get words with it hyphenated. So I use
>   \startlanguagespecifics[ua]
>   \lccode`'=`'
>   \stoplanguagespecifics
>But then, when I switch to another language, \lccode`' doesn't restore to 0,
>which can lead to improper hyphenation, as ' is used in quotes.
>
>Should the definitions which are "language specific" be forgotten when 
>switching
>to another language? Or maybe there is (or should be) something like
>\everylanguage hook: \addtoeverylanguage{\lccode`'=0}?

in lang-ger you can see examples of using language specific sections in 
encoding definitions.

concerning lccodes: this is tricky business since they *are* stored with 
the language, so they should be set when reading in the hyphenations

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

Reply via email to