[NTG-context] Chapter in header, but not on title page

Henning Hraban Ramm hraban at fiee.net
Sun Feb 16 12:03:08 CET 2020

> Am 2020-02-15 um 23:20 schrieb Pablo Rodriguez <oinos at 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

More information about the ntg-context mailing list