ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: Vyatcheslav Yatskovsky <yatskovsky@gmail.com>,
	 mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Filtering contents
Date: Mon, 14 Jun 2010 16:01:24 +0200	[thread overview]
Message-ID: <4C163634.9020800@googlemail.com> (raw)
In-Reply-To: <4C163518.10906@gmail.com>

Am 14.06.10 15:56, schrieb Vyatcheslav Yatskovsky:
> On 14.06.2010 16:54, Wolfgang Schuster wrote:
>> Am 14.06.10 15:49, schrieb Vyatcheslav Yatskovsky:
>>> I use \setupcombinedlist just to set alternative:
>>>
>>> \setupcombinedlist
>>> [content]
>>> [alternative=c,
>>> width=2.5em]
>>
>> I just wrote the 'level' key has no funtion in mkiv, combinedlist works
>> as expected and what you can do is to replace the default list with a
>> shorter version, e.g.
>>
>> \definecombinedlist[content][chapter,section,subsection]
>>
>> to limit the the shown section entries.
>>
>> Wolfgang
>>
> good idea, but
>
> \definecombinedlist[content][chapter,section,subsection]
> \setupcombinedlist
> [content]
> [alternative=c,
> width=2.5em]
>
> \startstandardmakeup[]
> \setupinterlinespace[24pt]
> \subject{CONTENTS}
> \placelist[content]
> \vfill
> \stopstandardmakeup
>
> does not work for  me -- empty contents page.
>
> \placelist[chapter,section,subsection] works.

\definecombinedlist[content] creates the two commands \place<content> 
and \complete<content>, your \placelist[content] expects a list 
'content' which is created with \definelist[content] but \placecontent 
is more or less just a short form for \placelist[chapter,section,subsection]

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
___________________________________________________________________________________


  parent reply	other threads:[~2010-06-14 14:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1708.1276522372.4277.ntg-context@ntg.nl>
2010-06-14 13:34 ` Vyatcheslav Yatskovsky
2010-06-14 13:48   ` Wolfgang Schuster
     [not found]     ` <4C16337C.7090207@gmail.com>
2010-06-14 13:54       ` Wolfgang Schuster
     [not found]         ` <4C163518.10906@gmail.com>
2010-06-14 14:01           ` Wolfgang Schuster [this message]
     [not found]         ` <4C16355A.5040607@gmail.com>
2010-06-14 14:03           ` Wolfgang Schuster
     [not found]             ` <4C163706.9070002@gmail.com>
2010-06-14 14:11               ` Wolfgang Schuster
     [not found] <mailman.0.1276509602.1911.ntg-context@ntg.nl>
2010-06-14 11:03 ` Vyatcheslav Yatskovsky
2010-06-14 12:37   ` Wolfgang Schuster
2010-06-14 12:50     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C163634.9020800@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=yatskovsky@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).