26 Jul
2011
26 Jul
'11
10:29 p.m.
Am 26.07.2011 um 17:48 schrieb Khaled Hosny:
Hello all,
I'm trying to only show section numbering for chapter, both in the section head and content list. I tried several combinations of number=yes|no, sectionnumber=yes|no but I either get numbering for all or none. I tried using \title and \subject by they don't show in the content list. I ended up using hacks like numbercomman=\dummy, and defining \def\dummy#1{}, but I'm trying to find if there is a cleaner solution.
\setuphead[section,subsection][incrementnumber=list] \setupcombinedlist[content][width=2em] \starttext \completecontent \chapter {Examples} \section {Knuth}\input knuth \subsection{Tufte}\input tufte \stoptext Wolfgang