From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Chapter in header, but not on title page
Date: Sun, 16 Feb 2020 12:03:08 +0100 [thread overview]
Message-ID: <5E5E1AA8-E213-45CE-B989-DCF1B5BABC23@fiee.net> (raw)
In-Reply-To: <dfdb7d17-5578-a999-a805-95b0ec05cc16@gmx.es>
> Am 2020-02-15 um 23:20 schrieb Pablo Rodriguez <oinos@gmx.es>:
>
>
> 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:
> \definetext[chapter-first][header][][pagenumber]
>
> \setuphead[chapter][%
> page={yes, header, right},
> header=chapter-first,
> ]
>
> Just in case it helps,
Thank you, that works in the example, but not in my actual project, and I didn’t find why.
But I found a workaround (used \setupheadertexts before and in the middle of the chapter).
In the end there was just one chapter left where the problem arose, since the other chapters use a different setup (double page intro).
Best, Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2020-02-16 11:03 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
2020-02-16 11:03 ` Henning Hraban Ramm [this message]
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=5E5E1AA8-E213-45CE-B989-DCF1B5BABC23@fiee.net \
--to=hraban@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).