ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: [NTG-context] setuphead page=right and blank even page.
Date: Sun, 11 Jun 2023 21:10:14 +0200	[thread overview]
Message-ID: <b3cabe24-06c3-29d3-43fc-9ecbe9ba13de@gmail.com> (raw)
In-Reply-To: <b9b3c7b5-acee-e878-36f8-af219d1bbecf@icloud.com>

Alan Braslau schrieb am 11.06.2023 um 20:12:
> On 10/06/23 10/06/23, 12:42, Wolfgang Schuster via ntg-context wrote:
>> Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28:
>>> Hello,
>>>
>>> \setuphead
>>>   [part,chapter,title]
>>>   [page=right]
>>>
>>> will start a part, chapter, or title on an odd page (right), 
>>> inserting a "blank" even page if necessary. How can I get this blank 
>>> even page to be truely blank, that is with no headers nor footers?
>>>
>>> I tried several thinks and must be missing something really simple 
>>> and obvious.
>>
>> \setuphead [...] [page={yes,header,footer,right}]
>
> Wolfgang
> Thank you for this hint. It works (almost) as expected:
> Strangely, I had to add, explicitly,
>
> \startfrontmatter
>
> \component FrontMatterStuff
>
> \page[yes,header,footer,right]
>
> \stopfrontmatter
>
> \startbodymatter
>
> ...
>
> \stopbodymatter
>
>
> In order to get the frontmatter end with a totally blank page before a 
> right Chapter 1 header. Using just the setuphead resulted in headers 
> and footers on the "blank" left page. No problems for Chapters 2, etc.

Section block force by default a page break which can produce unexpected 
headers/footers on the first chapter etc.

You can fix this by disabling the page break at the start/end of the 
section block with

     \setupsectionblock [bodypart] [page=]

Wolfgang

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

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

      reply	other threads:[~2023-06-11 19:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-10 10:28 Alan Braslau via ntg-context
2023-06-10 10:42 ` Wolfgang Schuster via ntg-context
2023-06-11 18:12   ` Alan Braslau via ntg-context
2023-06-11 19:10     ` Wolfgang Schuster via ntg-context [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=b3cabe24-06c3-29d3-43fc-9ecbe9ba13de@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /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).