Am 10.02.2012 um 18:15 schrieb Pablo Rodríguez: > Hi there, > > in the following sample, the TOC has chapter 2 on the same line as > section 1. > > \setuplist[chapter][alternative=g,align=middle,aligntitle=yes] > \setuplist[section][alternative=d] > \starttext > \completecontent > \chapter{chapter 1} > \section{section 1} > \chapter{chapter 2} > \section{section 2} > \stoptext > > I'm afraid that this i a bug, since chapter 2 should be on a new line.
No it isn’t. You shouldn’t also misuse the “g” alternative which is meant for interactive document to center the entry, instead use the “command” alternative. \definelistplacement[ChapterList][command]% {\endgraf \midaligned{#2}% \endgraf} \setuplist[chapter][alternative=ChapterList] Wolfgang ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________