ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] setuphead page=right and blank even page.
@ 2023-06-10 10:28 Alan Braslau via ntg-context
  2023-06-10 10:42 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Braslau via ntg-context @ 2023-06-10 10:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Alan Braslau

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.

Thank you.

-- 
Alan
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [NTG-context] setuphead page=right and blank even page.
  2023-06-10 10:28 [NTG-context] setuphead page=right and blank even page 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
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2023-06-10 10:42 UTC (permalink / raw)
  To: Alan Braslau via ntg-context; +Cc: Wolfgang Schuster

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

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [NTG-context] setuphead page=right and blank even page.
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Braslau via ntg-context @ 2023-06-11 18:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Alan Braslau

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.

-- 
Alan


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [NTG-context] setuphead page=right and blank even page.
  2023-06-11 18:12   ` Alan Braslau via ntg-context
@ 2023-06-11 19:10     ` Wolfgang Schuster via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2023-06-11 19:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-11 19:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-10 10:28 [NTG-context] setuphead page=right and blank even page 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 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).