Willi Egger schrieb am 30.08.18 um 11:18:
Hello,

I am busy to typeset a book with Maguntia.ttf.

I should prepare the TOC with leaders. However how can I get ConTeXT to use the same leader-size on all levels which need leaders? As in the given example the leaders are adapted to the size of the font.

\setuplist[...][textstyle=...]

Secondly I would like to have the page numbers all in the same size, irrespective from the level.
Thirdly, I would love to adapt the distance between the leader-dots to a bigger size. How to do that?

Create your own leaders setup with the \definefiller command.


\setuplist
  [chapter,section,subsection]
  [alternative=c]

\setuplist
  [chapter]
  [textstyle=\tfa]

\setuplist
  [subsection]
  [textstyle=\tfx]

\definefiller
  [willi]
  [method=global,
   width=1em]

\setuplistalternative
  [c]
  [filler=willi]

\starttext

\completecontent

\chapter{Chapter}

\section{Section}

\subsection{Subsection}

\stoptext


Wolfgang