From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Chapter in header, but not on title page
Date: Sat, 15 Feb 2020 21:16:09 +0100 [thread overview]
Message-ID: <571ADFE4-B4DD-48BE-BC73-6ACAC562EA51@fiee.net> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2020-02-15 20:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-15 20:16 Henning Hraban Ramm [this message]
2020-02-15 22:20 ` Pablo Rodriguez
2020-02-16 11:03 ` Henning Hraban Ramm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=571ADFE4-B4DD-48BE-BC73-6ACAC562EA51@fiee.net \
--to=texml@fiee.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).