Fabrice Couvreur schrieb am 23.08.2020 um 16:02:
Hello,
For the title of the chapters I use the following command.
\unexpanded\def\HeadTitle#1#2%
{\framed
[frame=off,
width=fit,
align=flushleft]
{\color[darkgray]{\tfxx\cap\bf\labeltext{chapter}}
\blank#1\blank#2}
When I compile my project, I have the label "Chapitre" above the word
"Sommaire" in the table of contents : how to delete it ?
1. Don't apply the command to \title
\setuphead[title][command=]
2. Make the command local to bodypart of your document, this works only
when you use section blocks (e.g. \startbodymatter)
\startsectionblockenvironment[bodypart]
\setuphead[chapter][command=\HeadTitle]
\stopsectionblockenvironment
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________