![](https://secure.gravatar.com/avatar/eade9bceb7f86f999178cd1b4ee3e500.jpg?s=120&d=mm&r=g)
Hello Wolfgang, On 12.10.2014 21:28, Wolfgang Schuster wrote:
Am 12.10.2014 um 20:39 schrieb Jano Kula
: Hello to everybody!
Minimal story ------------- How to insert local TOC of manually created subsections after the section starts?
% start minimal example \def\ManualSubsection#1{\blank% {\bf Manual Subsection #1}\par% \writetolist[subsection]{whatever}{Manual Subsection #1}% \input tufte\relax}
\starttext \dorecurse{3}{% \startchapter[title=Chapter] \placecontent[chapter,criterium=local] % local TOC OK
You can’t put a keyword (chapter) and a assignment (criterium=local) in the same argument of a setup-command, what you’re looking for is \placelist[chapter][criterium=local].
Wolfgang
Thanks, got it: \placelist[section][criterium=local] places the list of sections included in the chapter. Still, how to do the same with subsections manually inserted by \writetolist[subsection]{}{Subsection title}? Jano