How can I place the chapter titles in the header, but only on the first page of that chapter? This is the opposite of the question, How to prevent chapter titles from appearing in the header on the first page of each chapter in ConTeXt?, in other words, the header only displays the title on the first page, not on the other pages.

1 Answer 1


Just like your problem, the solution is the inverse of the post you linked to: define a header text and apply it to the structural (chapter), but leave the header empty for the rest.


\definetext [chapter:header:text] [header]
    (this goes on the first page exclusively)}]

\setuphead [chapter] [header=chapter:header:text]

\setuppagenumbering [location=footer]

    \dorecurse{3}{\input knuth\page}
    \dorecurse{3}{\input knuth\page}
  • It may be better to use \getmarking[chapter] instead of chapter title. That way a use can change the chapter markibg if needed.
    – Aditya
    Commented Jun 20, 2013 at 11:57
  • @Aditya have you tested that? I got an error with \getmarking. Commented Jun 20, 2013 at 12:13
  • I did not test it. But if you get an error, then that is a bug.
    – Aditya
    Commented Jun 20, 2013 at 13:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .