ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Chapter in header, but not on title page
@ 2020-02-15 20:16 Henning Hraban Ramm
  2020-02-15 22:20 ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2020-02-15 20:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-16 11:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-15 20:16 Chapter in header, but not on title page Henning Hraban Ramm
2020-02-15 22:20 ` Pablo Rodriguez
2020-02-16 11:03   ` Henning Hraban Ramm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).