Am 16.04.2013 um 10:46 schrieb "Meer, H. van der" <h.vanderm...@uva.nl>:

> With \placecontents I am able to put the TOC for a chapter right after the 
> chapter heading. So far so good. But now I would like to suppress in the 
> overall TOC all elements below the chapters. 
> How to? 
> At the moment I am using \completecontent for calling up the TOC. I looked in 
> the ConTeXtGarden but the explanation for \completecontent didn't make me any 
> wiser.For example, I do not understand the meaning of the three successive 
> []-pairs in \completecontent[..][..][..] and the link to \setuplist didn't 
> help me out.

The syntax description is wrong, \placecontent has only one optional argument 
which expects a assignment, e.g. alternative=a.

To place only TOC entry for certain headings you have to use \placelist, e.g. 
\placelist[section].

\starttext

\chapter{One}
\placelist[section]
\section{First}
\section{Second}
\chapter{Two}
\placelist[section]
\section{Third}
\section{Fourth}
\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