Thanks, that's genius! However, the problem I now have is that the sections from *both* chapters are displayed below each chapter heading. That is, \placelist[section] generates the same content in both contexts. Paul Hans Hagen wrote:
Paul Gideon Dann wrote:
Hi there,
I've got a table of contents for a document that's split into two large sections. I'm trying to display a centered heading for each section, and subsections listed in two columns underneath each section heading. Hopefully this illustrates something of what I'm trying to achieve:
\midaligned{Section1} \startcolumns[n=2] Subsection1 .... \stopcolumns
\midaligned{Section2} \startcolumns[n=2] Subsection1 .... \stopcolumns
Does anyone know how to automate this for a table of contents?
% \setuplist % [chapter] % [after={\startcolumns\placelist[section]\stopcolumns}]
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________