Am 09.07.2012 um 11:43 schrieb Meer, H. van der:

> Is there a simple manner to restrict the table of contents to chapter and 
> section, excluding subsections, subsubsections?
> 
> Now I use (and get all)
> 
> \startfrontmatter% the table of contents
>  \setuppagenumber[number=1,numberconversion=romannumerals]

You can put this setup in a sectionblockenvironment.

>  \completecontent
> \stopfrontmatter
> 
> I tried  \completecontent[criterium={chapter,section}] bat that doesn't work.
> Could not find it on the wiki, but I might have missed the right search term.


The list archive should contain dozens of answers to this question but here it 
is again.

\starttext

\title{Contents} % use \title{\headtext{content}} to get a language dependent 
title
\placelist[chapter,section]

…

\stoptext

or

\definecombinedlist[content][chapter,section]

\starttext

\completecontent

…

\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