A small note : this method works if I compile the project but if I compile only one chapter, the header no longer appears.

Le dim. 15 août 2021 à 17:01, Fabrice Couvreur <fabrice1.couvreur@gmail.com> a écrit :
Hi Pablo,
Thanks, it works.
Fabrice

Le dim. 15 août 2021 à 16:20, Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> a écrit :
On 8/15/21 12:49 PM, Fabrice Couvreur via ntg-context wrote:
> Hello,
> Wolfgang created a
> heading https://mailman.ntg.nl/pipermail/ntg-context/2021/102870.html
> for the chapters of my book.
> How can I prevent this header from appearing on the page with the table
> of contents ?

Hi Fabrice,

a simple way would be:

  \startsectionblockenvironment[bodypart]
    \setuphead
       [chapter]
       [align=flushright,
        textcommand=\groupedcommand{\blank[medium]}{},
        numbercolor=darkgray,
        textstyle=ChapterTextStyle,
        numberstyle=ChapterNumberStyle,
        before=\startChapterFrame,
        after=\stopChapterFrame,
        header=high]
  \stopsectionblockenvironment

Then use frontmatter and bodymatter.

Just in case it might help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________