* spacing between chapters in TOC
@ 2020-06-02 1:05 jbf
2020-06-02 4:30 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: jbf @ 2020-06-02 1:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
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.
But it must be simple enough to achieve?
Julian
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: spacing between chapters in TOC
2020-06-02 1:05 spacing between chapters in TOC jbf
@ 2020-06-02 4:30 ` Wolfgang Schuster
2020-06-02 5:37 ` jbf
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-06-02 4:30 UTC (permalink / raw)
To: mailing list for ConTeXt users, jbf
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: spacing between chapters in TOC
2020-06-02 4:30 ` Wolfgang Schuster
@ 2020-06-02 5:37 ` jbf
0 siblings, 0 replies; 3+ messages in thread
From: jbf @ 2020-06-02 5:37 UTC (permalink / raw)
To: Wolfgang Schuster; +Cc: ntg >> mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-02 5:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-02 1:05 spacing between chapters in TOC jbf
2020-06-02 4:30 ` Wolfgang Schuster
2020-06-02 5:37 ` jbf
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).