Hans,

I have the following sample:

    \setuppapersize[A6]
    \setupinteraction[state=start, focus=standard]
    \placebookmarks[chapter, section][chapter, section]
    \startsetups[lsect]
        \setupinterlinespace[line=28ex]
    \stopsetups
    \setuplist[section][style=\tfxx, alternative=d, setups=lsect]

    \starttext
    \completecontent
    \dorecurse{5}{\chapter{Knuth}\input knuth
        \dorecurse{8}{\section{Zapf}\input zapf}}
    \stoptext

I cannot set the interline space for \setuplist[section]. Wolfgang
kindly provided me with a workaround:

    \setuppapersize[A6]
    \setupinteraction[state=start, focus=standard]
    \placebookmarks[chapter, section][chapter, section]
    \startsetups[plsect]
      \start
        \setupinterlinespace
            [line=2.8ex]
        \placelist
            [section]
            [alternative=d,
             numbersegments=section,
             pagenumber=no,
             style=\itx] \par
      \stop
    \stopsetups

    \setuplist
      [chapter]
      [before={\blank[medium]}, after=\directsetup{plsect}]

    \starttext
    \placelist[chapter]
    \dorecurse{5}{\chapter{Knuth}\input knuth
        \dorecurse{8}{\section{Zapf}\input zapf}}
    \stoptext

But the issue I discovered recently is that the first section links from
the table of contents reach the chapter destination (and not the first
section). Bookmarks work fine, instead.

Wouldn’t it be better to improve the alternative=d in \setuplist, so
that interline space could be set up with the setups option?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to