From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: Chapter in header, but not on title page
Date: Sat, 15 Feb 2020 23:20:54 +0100 [thread overview]
Message-ID: <dfdb7d17-5578-a999-a805-95b0ec05cc16@gmx.es> (raw)
In-Reply-To: <571ADFE4-B4DD-48BE-BC73-6ACAC562EA51@fiee.net>
On 2/15/20 9:16 PM, Henning Hraban Ramm wrote:
> 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?
Hi Hraban,
I think this is what you intend:
\usemodule[visual]
\setuppagenumbering[alternative=doublesided, location=]
\setupheadertexts[chapter][pagenumber][pagenumber][chapter]
\definetext[chapter-first][header][][pagenumber]
\setuphead[chapter][%
page={yes, header, right},
header=chapter-first,
]
\starttext
\dorecurse{5}{
\startchapter[title={\fakewords{2}{5}}]
\dorecurse{5}{
\fakewords{100}{400}\par
}
\stopchapter
}
\stoptext
Just in case it helps,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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 prev parent reply other threads:[~2020-02-15 22:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-15 20:16 Henning Hraban Ramm
2020-02-15 22:20 ` Pablo Rodriguez [this message]
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=dfdb7d17-5578-a999-a805-95b0ec05cc16@gmx.es \
--to=oinos@gmx.es \
--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).