Hi Hraban, Probably instead of
\setuplist[chapter][ before=, after={\placecombinedlist[content][criterium=local]},]
you wanted to say \setuphead[chapter][ before=, after={\placecombinedlist[content][criterium=local]}] which gives the expected result without any problem… Best regards: OK
On 10 Jan 2019, at 14:34, Henning Hraban Ramm
wrote: Hello again,
in my current book project I need a local ToC after each chapter title. What’s wrong with my use of "after"?
The following example leads to a "TeX capacity exceeded" error:
\setupcombinedlist[content][% list={chapter,section},]
\setuplist[chapter][ before=, after={\placecombinedlist[content][criterium=local]},]
\starttext
\completecontent
\chapter{One}
\section{Knuth} \input knuth
\section{Tufte} \input tufte
\chapter{Two}
\section{Tufte 2} \input tufte
\chapter{Three}
\section{Zapf} \input zapf
\stoptext
(MkIV, version 2018.12.19 19:22)
Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD
___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________