Re: [NTG-context] ConTeXt Marcro Quesiton

2007-02-08 Thread Aditya Mahajan
On Wed, 7 Feb 2007, Hans Hagen wrote: > Wolfgang Schuster wrote: >> On Tue, 6 Feb 2007 10:36:42 -0500 (EST) >> Aditya Mahajan <[EMAIL PROTECTED]> wrote: >> >> >>> On Tue, 6 Feb 2007, Hans Hagen wrote: >>> >>> Aditya Mahajan wrote: >> Can someone suggest a better way to do this? >

Re: [NTG-context] ConTeXt Marcro Quesiton

2007-02-07 Thread Hans Hagen
Wolfgang Schuster wrote: > On Tue, 6 Feb 2007 10:36:42 -0500 (EST) > Aditya Mahajan <[EMAIL PROTECTED]> wrote: > > >> On Tue, 6 Feb 2007, Hans Hagen wrote: >> >> >>> Aditya Mahajan wrote: >>> > Can someone suggest a better way to do this? > > I found anoth

Re: [NTG-context] ConTeXt Marcro Quesiton

2007-02-07 Thread Wolfgang Schuster
On Tue, 6 Feb 2007 10:36:42 -0500 (EST) Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Tue, 6 Feb 2007, Hans Hagen wrote: > > > Aditya Mahajan wrote: > >> > >>> Can someone suggest a better way to do this? > >>> > >> > >> I found another way, I hope that it has no gotcha's > >> > > search for gro

Re: [NTG-context] ConTeXt Marcro Quesiton

2007-02-06 Thread Aditya Mahajan
On Tue, 6 Feb 2007, Hans Hagen wrote: > Aditya Mahajan wrote: >> >>> Can someone suggest a better way to do this? >>> >> >> I found another way, I hope that it has no gotcha's >> > search for group(ed)(empty|argument) in cont-sys.tex Did you mean syst-gen.tex? I tied dodoublegroupempty but it did

Re: [NTG-context] ConTeXt Marcro Quesiton

2007-02-06 Thread Hans Hagen
Aditya Mahajan wrote: > >> Can someone suggest a better way to do this? >> > > I found another way, I hope that it has no gotcha's > search for group(ed)(empty|argument) in cont-sys.tex Hans -

Re: [NTG-context] ConTeXt Marcro Quesiton

2007-02-05 Thread Aditya Mahajan
On Mon, 5 Feb 2007, Aditya Mahajan wrote: > Hi, > > I wand to write a macro, that handles both [] and {} as optional > arguments. For example, I have a command with three optionl arguments > > [#1][#2]#3 > > I want > > \commandto give #1=\empty, #2 = \empty, #3 = \empty > > \comman

[NTG-context] ConTeXt Marcro Quesiton

2007-02-05 Thread Aditya Mahajan
Hi, I wand to write a macro, that handles both [] and {} as optional arguments. For example, I have a command with three optionl arguments [#1][#2]#3 I want \commandto give #1=\empty, #2 = \empty, #3 = \empty \command [1]to give #1=1, #2 empty, #3 empty, \command