From: "Meer, H. van der" <H.vanderMeer@uva.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: typesetting TOC
Date: Wed, 17 Apr 2013 19:01:39 +0000 [thread overview]
Message-ID: <46894A5B-9F2C-450C-A5E6-F6D73AE1F382@uva.nl> (raw)
In-Reply-To: <2F4876AD-CC60-4C93-9DC6-3941A4452596@uva.nl>
[-- Attachment #1.1: Type: text/plain, Size: 1210 bytes --]
It took me quite a while to find the solution for this problem. By posting it here, I hope this will be useful to others.
\completecontent set the list composed of the chapters with a previous call to:
\setupcombinedlist[content][list=chapter]
and the list of chapters and included sections with:
\setupcombinedlist[list={chapter,section}]
etcetera.
Hans van der Meer
On 16 Apr 2013, at 10:17 PM, "Meer, H. van der" <H.vanderMeer@uva.nl<mailto:H.vanderMeer@uva.nl>> wrote:
I am very sorry, but I still cannot understand how to get the TOC as I would like it.
The following does typeset the Content header but is empty otherwise.
\startfrontmatter
\completelist[content][criterium=chapter]
\stopfrontmatter
I tried various possibilities from the reference manual, like \placelist[section][criterium=chapter]. But either this doesn't work (anymore?) or I am doing something very stupid. But these call do nothing.
It seems so simple: use the \complete.. mechanism (because this wraps the TOC nicely) to typeset a selection from the TOC using the criterium-mechanism. Which seems to me just made for this sort of action. But nothing comes out of it.
Hans van der Meer
[-- Attachment #1.2: Type: text/html, Size: 1905 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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
___________________________________________________________________________________
prev parent reply other threads:[~2013-04-17 19:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-16 20:17 Meer, H. van der
2013-04-17 19:01 ` Meer, H. van der [this message]
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=46894A5B-9F2C-450C-A5E6-F6D73AE1F382@uva.nl \
--to=h.vandermeer@uva.nl \
--cc=ntg-context@ntg.nl \
/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).