\setupcombinedlist ignores `level' argument?
Hi all, If I understand this right, \setupcombinedlist[content][level=section] tells ConTeXt to list up to section level when doing \completecontent. But it seems no matter what I set for `level', \completecontent lists however deeply it can. Here is a minimal example: \setupcombinedlist[content][level=section] \starttext \completecontent \chapter{Level 0} \section{Level 1} \subsection{Level 2} \subsubsection{Level 3} \subsubsubsection{Level 4} \subsubsubsubsection{Level 5} \stoptext Is this a bug, or I did something wrong? -- There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force.
Am 19.09.2010 um 00:09 schrieb Corsair:
Hi all,
If I understand this right, \setupcombinedlist[content][level=section] tells ConTeXt to list up to section level when doing \completecontent. But it seems no matter what I set for `level', \completecontent lists however deeply it can.
This option is gone in MkIV, the alternative is to use \starttext \title{Contents} \placelist[chapter,section,...] ... \stoptext or to redefine the contents lists with \definecombinedlist[content][chapter,section,...] \starttext \completecontent ... \stoptext Wolfgang
On Sun, Sep 19, 2010 at 08:06:05AM +0200, Wolfgang Schuster wrote:
Am 19.09.2010 um 00:09 schrieb Corsair:
Hi all,
If I understand this right, \setupcombinedlist[content][level=section] tells ConTeXt to list up to section level when doing \completecontent. But it seems no matter what I set for `level', \completecontent lists however deeply it can.
This option is gone in MkIV, the alternative is to use
\starttext
\title{Contents}
\placelist[chapter,section,...]
I see. That explains. Thank you very much! -- There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force.
participants (2)
-
Corsair
-
Wolfgang Schuster