![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
Dear list, generating a table of contents with the following sample: \setupinterlinespace[line=3.5ex] \setuplist[section][alternative=d, style={\itx\setupinterlinespace}, separator={·}] \starttext \placecontent \dorecurse{5}{\chapter{Chapter}\dorecurse{10}{\section{Long Section Title}}} \stoptext I experience two issues. The first one is that I have no hay to get the sections that build a paragraph to have an adapted \setupinterlinespace. Right now the interline space is too high. And \setupinterlinespace from style doesn’t seem to work. The second issue is that I would like to get a separator between each section item in the table of contents. Am I missing something about separator? Could anyone explain what is wrong with the sample? Many thanks for your help, Pablo -- http://www.ousia.tk
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 17.01.2014 um 20:38 schrieb Pablo Rodriguez
Dear list,
generating a table of contents with the following sample:
\setupinterlinespace[line=3.5ex] \setuplist[section][alternative=d, style={\itx\setupinterlinespace}, separator={·}] \starttext \placecontent \dorecurse{5}{\chapter{Chapter}\dorecurse{10}{\section{Long Section Title}}} \stoptext
I experience two issues.
The first one is that I have no hay to get the sections that build a paragraph to have an adapted \setupinterlinespace. Right now the interline space is too high. And \setupinterlinespace from style doesn’t seem to work.
The second issue is that I would like to get a separator between each section item in the table of contents. Am I missing something about separator?
Could anyone explain what is wrong with the sample?
1. There is no option to use a separator between the entries, when you want one you have to write your own list alternative. 2. You have to set the linespacing before all section entries are placed. \setupinterlinespace[line=3.5ex] \startsetups[placelist:section] \start \setupinterlinespace[line=2.8ex] \placelist[section][alternative=d,style=\itx] \par \stop \stopsetups \setuplist [chapter] [after=\directsetup{placelist:section}] \starttext \title{Table of contents} \placelist[chapter] \dorecurse{5} {\chapter{Chapter} \dorecurse{10} {\section{Long Section Title}}} \stoptext Wolfgang
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 01/18/2014 12:07 PM, Wolfgang Schuster wrote:
[...] The second issue is that I would like to get a separator between each section item in the table of contents. Am I missing something about separator?
Could anyone explain what is wrong with the sample? [...]
Am 17.01.2014 um 20:38 schrieb Pablo Rodriguez
: 2. You have to set the linespacing before all section entries are placed. \startsetups[placelist:section] \start \setupinterlinespace[line=2.8ex] \placelist[section][alternative=d,style=\itx] \par \stop \stopsetups \setuplist [chapter] [after=\directsetup{placelist:section}]
Many thanks for your help, Wolfgang. This is exactly what I needed. Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodriguez
-
Wolfgang Schuster