Grouped, otherwise settings for a certain language (applied with the setups key) are applied when the local language block has ended. \unprotect \unexpanded\def\startlanguage {\pushmacro\currentlanguage \lang_basics_set_current} \unexpanded\def\stoplanguage {\popmacro\currentlanguage \lang_basics_set_current[\currentlanguage]} \protect \startsetups[french] \setcharacterspacing[frenchpunctuation] \stopsetups \setuplanguage [fr] [setups=french] \starttext «text» \startlanguage[fr] «text» \stoplanguage «text» \stoptext Wolfgang Hans Hagen schrieb am 24.08.18 um 18:58:
On 8/22/2018 9:52 PM, Wolfgang Schuster wrote:
Hi Hans,
can you add a environment version of the \language command.
\unexpanded\def\startlanguage {\begingroup\language}
\let\stoplanguage\endgroup Grouped or not? This is also an option:
\unprotect
\unexpanded\def\startlanguage {\pushmacro\currentlanguage \lang_basics_set_current}
\unexpanded\def\stoplanguage {\popmacro\currentlanguage \lang_basics_set_current[\currentlanguage]}
\protect
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------