Hi Wolfgang,
Is this the best approach ?
Thank you.
Fabrice
\mainlanguage[fr]
\setupinteraction
[state=start,
style=,
color=,
contrastcolor=]
\setuplist
[chapter]
[after={\blank[line]}]
\setupcombinedlist
[content]
[aligntitle=yes,
alternative=c,
interaction=all]
\setuphead [part]
[sectionresetset=,
conversion=Romannumerals,
placehead=yes,
bodypartlabel=chapter]
\setuphead [chapter]
[sectionresetset=,
conversion=,
number=no,
placehead=yes,
bodypartlabel=part,
sectionsegments=chater:chapter]
\setuphead [section]
[sectionsegments=section:section]
\starttext
\placecontent
\startpart
[title={Repérage et calculs dans le plan}]
\startchapter
[title={Activités d'approche}]
\startsection
[title={Activité 1}]
\startsection
[title=Activité 2]
\startchapter
[title={Cours-Méthodes}]
\startsection
[title={Coordonnées d'un point dans un repère}]
\startsection
[title={Coordonnées du milieu d'un segment}]
\startchapter
[title={S'entraîner}]
\startsection
[title={Coordonnées d'un point dans un repère}]
\startsection
[title={Coordonnées du milieu d'un segment}]
\stoptext
2015-09-07 16:31 GMT+02:00 Wolfgang Schuster
Fabrice Couvreur
7. September 2015 15:59 Hi, I'm about to write a book using a structure. The desire is to get this like contents of the table of contents : You can’t put parts in chapters but it’s possible to change the labels for them, i.e. you can show “Chapter <number>” for parts and “Part <number> for chapters.
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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________