Thank you,
it works perfectly.
Lukas
On Sat, 20 Jun 2015 11:40:47 +0200, Wolfgang Schuster
<schuster.wolfg...@gmail.com> wrote:
Procházka Lukáš Ing. - Pontex s. r. o. <mailto:l...@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:l...@pontex.cz
Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751
Fax: +420 244 461 038
___________________________________________________________________________________
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
___________________________________________________________________________________