From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Unnumbered chapters (titles) etc in TOC
Date: Tue, 29 Nov 2011 12:34:43 +0100 [thread overview]
Message-ID: <4B239C02-CC08-47A8-9450-966850A68713@googlemail.com> (raw)
In-Reply-To: <1322565604.4960.3.camel@marcin-laptop>
Am 29.11.2011 um 12:20 schrieb Marcin Borkowski:
> Hi,
>
> I tried this:
>
> \definecombinedlist[content][chapter,title,subject,section]
> \setuphead[title,subject][incrementnumber=list]
>
> \starttext
> \placecontent
>
> \title{Unnumbered chapter}
> \subject{First}
> \subject{Second}
>
> \chapter{Numbered chapter}
> \section{Third}
> \section{Fourth}
>
> \stoptext
>
> and I have a few questions.
>
> 1. If I replace \definecombinedlist with \setupcombinedlist (which seems
> natural, given that "content" is already defined), it stops working;
> why?
\setupcombinedlist does two things:
1. It passes the argument to \setuplist for each heading in the list,
2. It is used to set certain options for the given list
> 2. The \setuphead line seem to be necessary; why?
Old option from MkII where this was needed. because combinedlist was a little bit different.
> 3. And the worst: indenting of \titles and \subjects is the same (and of
> \subsubjects also, if I add them). How to change this?
\title, \subject etc. use the default values for the “width” key while \chapter etc.
have explicit settings, you can change this with
\setuplist[<heading>][width=<dimension>]
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
___________________________________________________________________________________
prev parent reply other threads:[~2011-11-29 11:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-29 11:20 Marcin Borkowski
2011-11-29 11:34 ` Wolfgang Schuster [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=4B239C02-CC08-47A8-9450-966850A68713@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--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).