[NTG-context] setupheads[sectionnumber=no] (and retrocompatibility issue)

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Feb 1 18:51:20 CET 2012

Am 01.02.2012 um 18:31 schrieb Marco Pessotto:

> Wolfgang Schuster <schuster.wolfgang at googlemail.com> writes:
>> Am 01.02.2012 um 12:36 schrieb Marco Pessotto:
>>> http://wiki.contextgarden.net/Reference/en/setupheads says that the
>>> right command is sectionnumber, but it's obviously outdated.
>> The reference pages (and also the other wiki pages) explain often the
>> behaviors of MkII but for MkIV the numbering mechanism has slightly
>> changed.
>> There are different ways to disable numbering for the heading, for a
>> whole sectionblock you can disable them with
>> \setupsectionblock[…][number=no] and for individual heading you can
>> use \setuphead[…][number=no] or \setuphead[…][incrementnumber=no].
>> Wolfgang
> Thanks. I guess \setupheads[number=no,sectionnumber=no] won't harm in
> any case (so the document will compile correctly on both the beta and
> the current).

Or use only “incrementnumber=no” (or “incrementnumber=list” when you want
the the titles in the table of contents) which works with the old and new code.


More information about the ntg-context mailing list