TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to create a table of contents in ConTeXt MkIV with dots? In the wiki there is


But the old way to make dots

\setupcombinedlist[content][level=4, alternative=c]

does not work anymore. I need the "level", s.t. only the section are in the toc, and the dots, both.

share|improve this question
For further questions consider adding a minimal working example (MWE). It is considered a lot better to put in some code that will compile, as it makes it a lot easier for us to copy it into our text editor and work with it, and see exactly what it is you are trying to do. – Marco Nov 1 '12 at 10:54
up vote 3 down vote accepted

To display dots in the table of contents you use alternative=c.

The level setting is deprecated and does not work in a current ConTeXt. You can instead use the list key to decide what you want to print in your table. By default unnumbered heads like title and subject are not printed. Here is a complete example including custom defined headers.

   list={Title, Subject, chapter, section}]



  [Title, Subject]



\startTitle [title=Title]
  \startSubject [title=Subject]

\startchapter [title=Chapter]
  \startsection [title=Section]
    \startsubsection [title=Subsection]




As you can see, the subsection is not listed because it is not included in the list argument.

share|improve this answer
Thanks alot again! – Mustafa Nov 1 '12 at 12:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.