[NTG-context] How to limit level of sections in TOC?

Procházka Lukáš Ing. - Pontex s. r. o. LPr at pontex.cz
Sat Jun 20 11:30:17 CEST 2015


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.

What am I doing wrong?

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TOC.mkiv
Type: application/octet-stream
Size: 265 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150620/36769d73/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TOC.pdf
Type: application/pdf
Size: 6739 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150620/36769d73/attachment.pdf>


More information about the ntg-context mailing list