bug with setuplist alternative?
![](https://secure.gravatar.com/avatar/b7e08bfc3ab0dc1483daa4997762ac1b.jpg?s=120&d=mm&r=g)
Hi there, in the following sample: \setuplist[chapter][alternative=g] \setuplist[section][alternative=d] \starttext \completecontent \chapter{chapter} \section{section} \chapter{chapter} \subsection{subsection} I get the second chapter on the same line as the section. I'm afraid this might be a bug. BTW, how can I get a table of contents with heading that doesn't contain subsections? The wiki only offers the option \placecontent[chapter,section], but I need the heading. Thanks for your help, Pablo -- http://www.oudeis.tk
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 29.01.2012 um 00:23 schrieb Pablo Rodríguez:
Hi there,
in the following sample:
\setuplist[chapter][alternative=g] \setuplist[section][alternative=d] \starttext \completecontent \chapter{chapter} \section{section} \chapter{chapter} \subsection{subsection}
I get the second chapter on the same line as the section. I'm afraid this might be a bug.
BTW, how can I get a table of contents with heading that doesn't contain subsections? The wiki only offers the option \placecontent[chapter,section], but I need the heading.
\completecontent == \title{Contents} + \placecontent Wolfgang
![](https://secure.gravatar.com/avatar/b7e08bfc3ab0dc1483daa4997762ac1b.jpg?s=120&d=mm&r=g)
On 01/29/2012 01:06 PM, Wolfgang Schuster wrote:
[...]
BTW, how can I get a table of contents with heading that doesn't contain subsections? The wiki only offers the option \placecontent[chapter,section], but I need the heading.
\completecontent == \title{Contents} + \placecontent
Thanks, Wolfgang, for the reply. I didn't know that. Adding it to the wiki. Pablo -- http://www.oudeis.tk
participants (2)
-
Pablo Rodríguez
-
Wolfgang Schuster