Re: when applying 'saveinlist=no', the numbering of the chapters is not correct

Wolfgang Schuster <[email protected]> Tue, 28 Apr 2026 22:38:24 +0200
Newsgroups gmane.comp.tex.context
Message-ID <[email protected]>
Am 28.04.2026 um 20:24 schrieb Pablo Rodriguez via ntg-context:
> On 4/27/26 17:01, autumnus wrote:
>> Hi ConTeXt users,
>>
>> when applying 'saveinlist=no', the numbering of the chapters is not
>> correct.
> 
> Hi autumnus,
> 
> I can confirm the issue with both current LMTX and LuaTeX (both for
> latest from 2026.04.27 13:56).
> 
> I cannot find `saveinlist` in
> https://www.pragma-ade.com/general/qrcs/setup-en.pdf. I have searched it
> in Codeberg, since it’s the first time I see this option. It doesn’t
> seem to be a recent implementation.
> 
> Wolgang, could you take a look at this?

saveinlist is a internal key used by context, the documented key is 
incrementnumber.

To create a chapter which doesn't appear inn the table of contents 
requires its own custom chapter command:

%%%% begin example
\definehead[mychapter][chapter]

\starttext

\completecontent

\startchapter[title=Chapter in list]% 1
\stopchapter

\startmychapter[title=Chapter not in list]
\stopmychapter

\startchapter[title=Chapter in list]% 3
\stopchapter

\stoptext
%%%% end example

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________