Re: [NTG-context] labels and new structure code

2009-06-07 Thread Hans Hagen
Thomas A. Schmitz wrote: Hi all, Hans, here is a bug that remains with the new structure code after Hans fixed many things two weeks ago. I want a counter that is reset at every odd chapter. This works as expected in mkii (and used to work in mkiv), but complains about a Missing number,

Re: [NTG-context] labels and new structure code

2009-06-07 Thread Thomas A. Schmitz
On Jun 7, 2009, at 2:12 PM, Hans Hagen wrote: ok, fixed in the beta the problem is that the old code was somewhat crippled as it uses this two step method (determine and usage) due to expansion issues in the current beta mkiv code we can do: \setuphead [section]

Re: [NTG-context] labels and new structure code

2009-06-07 Thread Hans Hagen
Thomas A. Schmitz wrote: On Jun 7, 2009, at 2:12 PM, Hans Hagen wrote: ok, fixed in the beta the problem is that the old code was somewhat crippled as it uses this two step method (determine and usage) due to expansion issues in the current beta mkiv code we can do: \setuphead

Re: [NTG-context] labels and new structure code

2009-06-07 Thread Thomas A. Schmitz
On Jun 7, 2009, at 3:04 PM, Hans Hagen wrote: yeah you need to reset the prefix, like prefix=no ; depends a bit on your definition (i need to figure out a proper default scheme for a whole doc which is kind of tricky since we have more control now) Oops, I am sorry, resetting the

[NTG-context] labels and new structure code

2009-06-04 Thread Thomas A. Schmitz
Hi all, Hans, here is a bug that remains with the new structure code after Hans fixed many things two weeks ago. I want a counter that is reset at every odd chapter. This works as expected in mkii (and used to work in mkiv), but complains about a Missing number, treated as zero and fails