Re: [NTG-context] Grouping with \dosingleempty

2006-06-06 Thread Taco Hoekwater
Aditya Mahajan wrote: Hi, I am confused why the following definition does not work as expected. \def\PM{\dosingleempty\doPM} \def\doPM[#1]{\iffirstargument P_{M_{#1}} \else P_{M_t}\fi} \starttext Why is $\widetilde \PM[T]$ not the same as $\widetilde P_{M_T}$ \stoptext The

Re: [NTG-context] Grouping with \dosingleempty

2006-06-06 Thread Aditya Mahajan
On Tue, 6 Jun 2006, Taco Hoekwater wrote: Aditya Mahajan wrote: Hi, I am confused why the following definition does not work as expected. \def\PM{\dosingleempty\doPM} \def\doPM[#1]{\iffirstargument P_{M_{#1}} \else P_{M_t}\fi} \starttext Why is $\widetilde \PM[T]$ not the same as

[NTG-context] Grouping with \dosingleempty

2006-06-05 Thread Aditya Mahajan
Hi, I am confused why the following definition does not work as expected. \def\PM{\dosingleempty\doPM} \def\doPM[#1]{\iffirstargument P_{M_{#1}} \else P_{M_t}\fi} \starttext Why is $\widetilde \PM[T]$ not the same as $\widetilde P_{M_T}$ \stoptext Can I change the definition so that