On Sun, Nov 06 2011, Hans Hagen wrote:
the reset issue is the reason why there is no mechanism yet ... your example is an an indication of this: it would reset globally set spacing
on the other hand, when you switch language, it will normally happen grouped so settings are local then
Requiring grouping is good, but it would not solve this specific case: the mainlanguage is a global setting. Something like "\setuplanguage[all, !fr][setups=not-french]" would help, that means setups for all languages but French. Or just \setuplanguage[all][...]. Test file: --8<---------------cut here---------------start------------->8--- %% Future t-french.tex: \startsetups french \setcharacterspacing[frenchpunctuation] % other French specific settings \stopsetups \startsetups not-french \setcharacterspacing[reset] % cancel other French specific settings \stopsetups \setuplanguage [all] [setups=not-french] \setuplanguage [fr] [setups=french] \mainlanguage [fr] %% Document: \usemodule[french] \starttext test: test\par \start \language[en] test: test\par \stop test: test \stoptext --8<---------------cut here---------------end--------------->8--- -- Peter