[NTG-context] language specifics (was: Re: mistake in lang-cjk.mkiv)

2010-05-07 Thread Peter Münster
On Thu, May 06 2010, Hans Hagen wrote:

 in mkiv we don't have (want) language specifics ... why do yoi need them?

Hello Hans,

What is now the right mechanism, to trigger some setting when a specific
language is activated and cancel this same setting, when this language is
deactivated?

Example: when entering French language, I want to execute
\setcharacterspacing[frenchpunctuation] and when leaving French I want to
execute \setcharacterspacing[reset].

(today the file
http://dl.contextgarden.net/modules/t-french/tex/context/third/french/t-french.tex
is broken, because I don't know how to do it right... :(

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] language specifics

2010-05-07 Thread Hans Hagen

On 7-5-2010 9:25, Peter Münster wrote:

On Thu, May 06 2010, Hans Hagen wrote:


in mkiv we don't have (want) language specifics ... why do yoi need them?


Hello Hans,

What is now the right mechanism, to trigger some setting when a specific
language is activated and cancel this same setting, when this language is
deactivated?

Example: when entering French language, I want to execute
\setcharacterspacing[frenchpunctuation] and when leaving French I want to
execute \setcharacterspacing[reset].

(today the file
http://dl.contextgarden.net/modules/t-french/tex/context/third/french/t-french.tex
is broken, because I don't know how to do it right... :(


you can then probably just enable it as i cannot imagine a document 
which uses mixed typographical habits that still looks right


anyway, there will be some mechanism but probably more at the level of 
the features itself (i.e. as part of setcharacterspacing) as there have 
to be ways to turn on/off specific language bound features. The mkii 
language specifics were mostly meant for encoding issues and those 
trigger points have disappeared as encodings are gone now.


Hans


-
  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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___