Am 14.02.2012 um 13:21 schrieb Hans Hagen: > On 14-2-2012 12:55, Steffen Wolfrum wrote: >> Hi, >> >> due to \color[]{} now needs an argument, groupedcommand doesn't work as >> before: >> >> >> \define\PlainSwitch% >> {\groupedcommand{\language[de]\ss}{}} >> >> \define\ColorSwitch% >> {\groupedcommand{\language[de]\ss\color[darkred]}{}} >> >> \starttext >> >> English: \date >> >> {\PlainSwitch German \date} >> >> English: \date >> >> {\ColorSwitch German \date} >> >> Test \date >> >> \stoptext >> >> Someone knows what to change here (in order to get the red "G" back)? > > something > > {\groupedcommand{\language[de]\ss\startcolor[darkred]}{\stopcolor}}
In version 2012.01.16 this gives an error: ! Extra }, or forgotten \endgroup. Steffen ___________________________________________________________________________________ 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 ___________________________________________________________________________________