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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to