From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5616 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Language specific commands Date: Wed, 12 Sep 2001 08:38:09 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010912083509.0262c518@server-1> References: <3B9EA91A.E96A49F2@ukrpost.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396197 3175 80.91.224.250 (23 Oct 2002 18:03:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:03:17 +0000 (UTC) Cc: ConTeXt mailing list Original-To: Olya Briginets In-Reply-To: <3B9EA91A.E96A49F2@ukrpost.net> Xref: main.gmane.org gmane.comp.tex.context:5616 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5616 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------