Thank you,
it works perfectly.
Lukas
On Sat, 20 Jun 2015 11:40:47 +0200, Wolfgang Schuster
Procházka Lukáš Ing. - Pontex s. r. o. mailto:LPr@pontex.cz 20. Juni 2015 11:30 Hello,
I'm not able to limit level of sections in TOC so to not show \subsubsection:
---- %\setuplist[content][level=subsection] % Doesn't work %\setuplist[content][section,subsection] % Doesn't work
\starttext \placecontent[level=subsection] % Doesn't work \hairline \placecontent[level=3] % Doesn't work \hairline
\section{Sec} \subsection{SSec} \subsubsection{SSSec} \stoptext ----
I studied wiki (http://wiki.contextgarden.net/Command/setuplist) and also contextref.pdf (pg. 218) but without success. The level key doesn't work with MkIV but you can use the following two methods.
1. Use the \placelist command and list the sections you want to show, e.g.
\placelist[chapter,section,subsection]
2. Use the list key for \placecontent to show only the listed entries, e.g.
\placecontent[list={chapter,section,subsection}]
Wolfgang
-- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038