[NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Stuart Jansen
I asked this question a couple of days ago, but didn't get any takers. I don't want to be a pest, but it's frustrating to be so close yet unable to solve this final problem. Let's see if rephrasing the question helps. I'm trying to use \doifnumberelse in a \setuplist numbercommand= but it isn't

Re: [NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Mojca Miklavec
On 8/16/06, Stuart Jansen wrote: I asked this question a couple of days ago, but didn't get any takers. I don't want to be a pest, but it's frustrating to be so close yet unable to solve this final problem. Let's see if rephrasing the question helps. I'm trying to use \doifnumberelse in a

Re: [NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Stuart Jansen
On Wed, 2006-08-16 at 21:46 +0200, Mojca Miklavec wrote: My guess is that \doifnunmberelse won't work since it's not only the number hidden there, but also formatting, conversion, ... etc. You're probably right. But I have no idea how to do it in some other way. You may take a look at the

Re: [NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Hans Hagen
Stuart Jansen wrote: I asked this question a couple of days ago, but didn't get any takers. I don't want to be a pest, but it's frustrating to be so close yet unable to solve this final problem. Let's see if rephrasing the question helps. I'm trying to use \doifnumberelse in a \setuplist

Re: [NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Stuart Jansen
On Wed, 2006-08-16 at 23:36 +0200, Hans Hagen wrote: some time ago i made this plugable so you're lucky Thanks! Although my \definehead solution worked in simple documents, in didn't work in my more complex layout. Your solution works perfectly. a better solution would be something