Hi all,
This works as expected* (empty section title with "5 6 7 8" on the next line
\definenumber[examplecounter]
\setnumber[examplecounter]{5}
\starttext
\startsection
\getnumber[examplecounter]
\incrementnumber[examplecounter]
\getnumber[examplecounter]
\incrementnumber[examplecounter]
\getnumber[examplecounter]
\incrementnumber[examplecounter]
\getnumber[examplecounter]
\incrementnumber[examplecounter]
\stopsection
\stoptext
This does not:
\definenumber[examplecounter]
\setnumber[examplecounter]{5}
\starttext
\startchapter
\getnumber[examplecounter]
\incrementnumber[examplecounter]
\getnumber[examplecounter]
\incrementnumber[examplecounter]
\getnumber[examplecounter]
\incrementnumber[examplecounter]
\getnumber[examplecounter]
\incrementnumber[examplecounter]
\stopchapter
\stoptext
The second example has an empty chapter heading followed by "1. 1.1 1.2 1.3".
This is on version: 2011.11.29. Apologies if this is has been
addressed - I'm holding off updating until I've worked out some more
features in my doc.
Felix
* As expected by me
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________