Re: [NTG-context] \startmode and \startcomment inside of \def

2010-11-07 Thread Aditya Mahajan
On Sun, 7 Nov 2010, Wolfgang Schuster wrote: Am 07.11.2010 um 20:49 schrieb Vedran Miletić: How would I then do something like this? \def\startSolution{\startmode[solutions]\startframedtext} \def\stopSolution{\stopframedtext\stopmode} \startmode[solution] \setupbuffer[Solution][local=no,be

Re: [NTG-context] \startmode and \startcomment inside of \def

2010-11-07 Thread Wolfgang Schuster
Am 07.11.2010 um 20:49 schrieb Vedran Miletić: > How would I then do something like this? > > \def\startSolution{\startmode[solutions]\startframedtext} > \def\stopSolution{\stopframedtext\stopmode} \startmode[solution] \setupbuffer[Solution][local=no,before=\startframedtext,after=\stopframedtex

Re: [NTG-context] \startmode and \startcomment inside of \def

2010-11-07 Thread Vedran Miletić
2010/11/7 Wolfgang Schuster > > Am 07.11.2010 um 19:42 schrieb Vedran Miletić: > > > Hi, > > > > I would like to define something like this: > > \def\startSolution{\startmode[solutions]...} > > \def\stopSolution{...\stopmode} > > > > But when I use \startSolution and \stopSolution, and mode solut

Re: [NTG-context] \startmode and \startcomment inside of \def

2010-11-07 Thread Wolfgang Schuster
Am 07.11.2010 um 19:42 schrieb Vedran Miletić: > Hi, > > I would like to define something like this: > \def\startSolution{\startmode[solutions]...} > \def\stopSolution{...\stopmode} > > But when I use \startSolution and \stopSolution, and mode solutions isn't > enabled, I get something like >

[NTG-context] \startmode and \startcomment inside of \def

2010-11-07 Thread Vedran Miletić
Hi, I would like to define something like this: \def\startSolution{\startmode[solutions]...} \def\stopSolution{...\stopmode} But when I use \startSolution and \stopSolution, and mode solutions isn't enabled, I get something like Runaway argument? aaa \stopSolution \stoptext ! File ended while sca