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.

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
 Arab
\setuphead[chapter][sectionnumber=yes]
\setuphead[section,subsection][sectionnumber=no]
\setuplist[content][chapter,section][criterium=all,level=section]

\starttext
\completecontent
\chapter{Chapter}
\section{Section}
\input knuth
\subsection{Sub Section}
\input knuth
\stoptext
___________________________________________________________________________________
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