[NTG-context] local ToC after each chapter title

Henning Hraban Ramm texml at fiee.net
Thu Jan 10 14:34:53 CET 2019


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



More information about the ntg-context mailing list