[NTG-context] Filtering contents

2010-06-14 Thread Vyatcheslav Yatskovsky
Hi Sorry for (possibly) stupid question, but what should I use to remove subsubsections from TOC? I'm convinced that I should use \placecontent[level=subsection] but it does not work. -- Best Regards, Vyatcheslav Yatskovsky

Re: [NTG-context] Filtering contents

2010-06-14 Thread Wolfgang Schuster
Am 14.06.10 13:03, schrieb Vyatcheslav Yatskovsky: Hi Sorry for (possibly) stupid question, but what should I use to remove subsubsections from TOC? I'm convinced that I should use \placecontent[level=subsection] but it does not work. This option (although set in strc-def.mkiv) is gone

Re: [NTG-context] Filtering contents

2010-06-14 Thread Hans Hagen
On 14-6-2010 2:37, Wolfgang Schuster wrote: Am 14.06.10 13:03, schrieb Vyatcheslav Yatskovsky: Hi Sorry for (possibly) stupid question, but what should I use to remove subsubsections from TOC? I'm convinced that I should use \placecontent[level=subsection] but it does not work. This

Re: [NTG-context] Filtering contents

2010-06-14 Thread Vyatcheslav Yatskovsky
Thanks a lot. Interesting, but \setupcombinedlist[content][...] still works ) \placecontent[level=subsection] but it does not work. This option (although set in strc-def.mkiv) is gone in mkiv, use the normal \placelist command. \placelist[chapter,section,subsection] -- Best Regards,

Re: [NTG-context] Filtering contents

2010-06-14 Thread Wolfgang Schuster
Am 14.06.10 15:49, schrieb Vyatcheslav Yatskovsky: I use \setupcombinedlist just to set alternative: \setupcombinedlist [content] [alternative=c, width=2.5em] I just wrote the 'level' key has no funtion in mkiv, combinedlist works as expected and what you can do is to replace the default

Re: [NTG-context] Filtering contents

2010-06-14 Thread Wolfgang Schuster
Am 14.06.10 15:34, schrieb Vyatcheslav Yatskovsky: Thanks a lot. Interesting, but \setupcombinedlist[content][...] still works ) Can you make a example, this doesn't work for me: \setupcombinedlist[content][level=subsection] \starttext \completecontent \chapter{One} \section{Two}

Re: [NTG-context] Filtering contents

2010-06-14 Thread Wolfgang Schuster
Am 14.06.10 15:57, schrieb Vyatcheslav Yatskovsky: I was wondering why \setupcombinedlist[content] affects \placelist without mentioning content ))) \setupcombinedlist[content] is a setup command for a list which are set with \definecombinedlist, e.g.

Re: [NTG-context] Filtering contents

2010-06-14 Thread Wolfgang Schuster
Am 14.06.10 16:04, schrieb Vyatcheslav Yatskovsky: Isn't there should be list name, mylist? \setuplist[section,subsection,subsubsubsection][alternative=d] \setupcombinedlist[mylist] = \setuplist[section,subsection,subsubsubsection] mylist == section + subsection + subsubsubsection