Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Aditya Mahajan
Hi Carsten, On Fri, 11 Jan 2008, Carsten Fechtmann wrote: first off: I am new to ConTeXt (even if not so new to LaTeX) and would like to transfer some of my old macros to ConTeXt... I am well aware, that this means re-programming (most) of them. So be it. Have you looked at enumerations?

Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Carsten Fechtmann
Hi Aditya, thanks for taking the time to answer this. And yes, I looked at what ConTeXt has already built in. On 12.01.2008 at 18:44 wrote Aditya Mahajan: I haven't looked at your code below. First check if one the in-built stuctural environments of ConTeXt do what you want. As a matter

Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Aditya Mahajan
Hi Carsten, On Sat, 12 Jan 2008, Carsten Fechtmann wrote: What this all burns down is, that I /really/ would like to understand, how I can pass a value from a counter as (constant) argument to a self- defined function. As that seems to be the core of the matter/problem here. You need to

Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Carsten Fechtmann
Hi Aditya, yes, looking at the .tuo did the trick. :-D I had tried things with expanded already, but at that time I still had {\expanded{\Issue[\IssueCounter]{Issue~\IssueCounter:}{\currentdate}}} as command. Which does NOT work (due to the tilde ~ resulting in an error message then) The rest

Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Aditya Mahajan
On Sun, 13 Jan 2008, Carsten Fechtmann wrote: Hi Aditya, yes, looking at the .tuo did the trick. :-D I had tried things with expanded already, but at that time I still had {\expanded{\Issue[\IssueCounter]{Issue~\IssueCounter:}{\currentdate}}} as command. Which does NOT work (due to the