Yue Wang wrote: > Hi, Hans: > > I am designing a Table Of Contents now. Here is what it should like: > > Table of Contents (with zapfino font, of course~) > > chapter 1 chapter2 chapter3 > sec1.1 sec2.1 sec 3.1 > sec1.2 sec2.1 sec 3.2 > sec1.3 sec 3.3 > sec1.4 > > I think I should create a frame for each chapter and its sections. > However, whether the inbetween key or the command key is hard to add a > command before chapter1 (use before key) and after sec1.4 (cannot use > after key for chapter 1) at the same time to group them all together. > > Is this design possible in ConTeXt? How can I do this? Thank you!
best direct such questions to the list \starttext \placelist[section][criterium=chapter,number=2] \chapter{first} \section{a} \section{b} \chapter{second} \section{c} \section{d} \stoptext ----------------------------------------------------------------- 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 ___________________________________________________________________________________