From: jbf <roma83537@gmail.com>
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Cc: "ntg >> mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: spacing between chapters in TOC
Date: Tue, 2 Jun 2020 15:37:08 +1000 [thread overview]
Message-ID: <d04725be-9ae9-9f6b-bf86-bbc28c73d3fc@gmail.com> (raw)
In-Reply-To: <f61a01b7-d394-8fae-5c24-f495cfdc2ce5@gmail.com>
Thanks Wolfgang. Sometimes what we think is intuitive (I had just
assumed that some sort of para indentation might do it) is not so! And
yes, I had already worked out the before and after keys.
Many thanks,
Julian
On 2/6/20 2:30 pm, Wolfgang Schuster wrote:
> jbf schrieb am 02.06.2020 um 03:05:
>> Hi list,
>>
>> I want my table of contents to look like:
>>
>> Chapter 1
>> section 5
>> section 10
>> section 15
>>
>> In other words with section items indented.
>>
>> I presumed I would need to do something with \setuplist[section]. I
>> know how to control interline distance, whitespace, but in this
>> instance, not indentation of certain lines in a toc. I tried
>> \setuplist[section][indenting=yes] and even indentation=yes in the
>> hope that existed. It doesn't, at least not used this way.
>
> To change the vertical space between entries you use the before and
> after keys (this does *not* change the interline space), e.g.
>
> \setuplist[...][before=\blank, after={\blank[2*line]}]
>
> and to indent entries you use the margin key, e.g.
>
> \setuplist[...][margin=2em]
>
> but this is unrelated to paragraph indentation.
>
> 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2020-06-02 5:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-02 1:05 jbf
2020-06-02 4:30 ` Wolfgang Schuster
2020-06-02 5:37 ` jbf [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=d04725be-9ae9-9f6b-bf86-bbc28c73d3fc@gmail.com \
--to=roma83537@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=wolfgang.schuster.lists@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).