On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote:
Hi, I don't see why the table of contents does not appear. On the other hand, the 12 chapters are present.
\startproduct[terminale-manual] \startfrontmatter \starttitle[title=Table des matières] \placelist [chapter,section,subsection,subsubsection] [criterium=all, interaction=all, alternative=c] \stoptitle \stopfrontmatter \startbodymatter \chapter{xxx} \stopbodymatter \stopproduct shows a table of contents so it must be something in your components
Fabrice
\startproduct[terminale-manual]
\project[terminale-environment] \startfrontmatter
\setuppagenumbering [location=]
\definefont [ChapterTextStyle] [SansBold*default sa 2.2]
\setuphead [title] [style=ChapterTextStyle, align=flushright]
\setuplist [chapter] [style=bold, alternative=b, width=1em]
\setuplist [section] [margin=1em, width=1.75em]
\setuplist [subsection] [margin=2.75em, width=2.25em, distance=\spaceamount]
\starttitle[title=Table des matières]
\placelist [chapter,section,subsection,subsubsection] [criterium=all, interaction=all, alternative=c]
\stoptitle
\stopfrontmatter
\startbodymatter \component[chapitre_1] \component[chapitre_2] \component[chapitre_3] \component[chapitre_4] \component[chapitre_5] \component[chapitre_6] \component[chapitre_7] \component[chapitre_8] \component[chapitre_9] \component[chapitre_10] \component[chapitre_11] \component[chapitre_12] \stopbodymatter
\stopproduct
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------