Hi Charles,
On Sun, May 26, 2024 at 11:39 AM Charles Doherty via ntg-context
Dear Wolfgang,
I have a book in preparation with running heads.
Pagenumber marking | marking Pagenumber
The chapter title page has empty headings.
The publisher would like the page number centered on the Chapter title page. I manage to put it there but I don’t want it to run on the following pages. I have made various attempts but can’t manage it.
I have
\setuplayout[location=doublesided] \setuppagenumbering[location=,alternative=doublesided]
\setupheadertexts[chapter][][pagenumber] \setupheadertexts[{\getmarking[chapter]}][pagenumber]
Can anyone show me code to achieve this?
Thanks, Charlie
I notice that you addressed Wolfgang, but you also sent to the list. One way could be to condition on being on a chapter page: \setupheadertexts [\doifelsefirstsectionpage{chapter}{\userpagenumber}{}] \setupheadertexts [\doifelsefirstsectionpage{chapter}{}{\getmarking[chapter]}] [\doifelsefirstsectionpage{chapter}{}{\userpagenumber}] /Mikael