[NTG-context] Chapter in header, but not on title page

Henning Hraban Ramm texml at fiee.net
Sat Feb 15 21:16:09 CET 2020


I guess I’m stupid.
I’d like to have my chapter title in the header on right pages, but not on the first page of a chapter, that always is a right page.
Since I’d like to keep the page number in the header on these pages, I can’t use header=empty.
What’s the right setup for me?

(In the MWE there’s still a page number in the center, that’s not my problem.)


\usemodule[visual]

\setuppagenumbering[alternative=doublesided]
\setupheadertexts[chapter][pagenumber][pagenumber][]

\setuphead[chapter][
  page=right,
]

\starttext

\dorecurse{5}{
  \startchapter[title={\fakewords{2}{5}}]
  \dorecurse{5}{
    \fakewords{100}{400}\par
  }
  \stopchapter
}
\stoptext



Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD



More information about the ntg-context mailing list