* \setupcombinedlist ignores `level' argument?
@ 2010-09-18 22:09 Corsair
2010-09-19 6:06 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Corsair @ 2010-09-18 22:09 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 725 bytes --]
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.
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \setupcombinedlist ignores `level' argument?
2010-09-18 22:09 \setupcombinedlist ignores `level' argument? Corsair
@ 2010-09-19 6:06 ` Wolfgang Schuster
2010-09-19 17:07 ` Corsair
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2010-09-19 6:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \setupcombinedlist ignores `level' argument?
2010-09-19 6:06 ` Wolfgang Schuster
@ 2010-09-19 17:07 ` Corsair
0 siblings, 0 replies; 3+ messages in thread
From: Corsair @ 2010-09-19 17:07 UTC (permalink / raw)
To: ntg-context
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.
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-19 17:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-18 22:09 \setupcombinedlist ignores `level' argument? Corsair
2010-09-19 6:06 ` Wolfgang Schuster
2010-09-19 17:07 ` Corsair
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).