[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster

Alan Braslau schrieb am 06.07.2023 um 17:14:

On 06/07/23 06/07/23, 17:07, Wolfgang Schuster wrote:


Add "doublesided=no" to your makeup settings.

Wolfgang


Thank you.
I have doublesided=no in the makeup, but this makeup is not used by 
\startpagefigure.


The problem is with \startpagefigure that is outside of makeup, that 
is it is using the standard makeup (with doublesided=yes). Is this a 
bug, that is should \startpagefigure use the makeup of the included 
PDF document and ignore the local makeup? Or is this, rather, what is 
intended, requiring one to wrap the included pages in an explicit 
makeup (as I am now doing)?


\pagefigure[...][...] (no need for \startpagefigure .. \stoppagefigure) 
is a combination of \startTeXpage and \externalfigure and you shouldn't 
put the command in a makeup environment.


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
___


[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context

On 06/07/23 06/07/23, 17:07, Wolfgang Schuster wrote:


Add "doublesided=no" to your makeup settings.

Wolfgang


Thank you.
I have doublesided=no in the makeup, but this makeup is not used by 
\startpagefigure.


The problem is with \startpagefigure that is outside of makeup, that is 
it is using the standard makeup (with doublesided=yes). Is this a bug, 
that is should \startpagefigure use the makeup of the included PDF 
document and ignore the local makeup? Or is this, rather, what is 
intended, requiring one to wrap the included pages in an explicit makeup 
(as I am now doing)?


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
___


[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster

Alan Braslau via ntg-context schrieb am 06.07.2023 um 11:58:

On 06/07/23 06/07/23, 10:14, Henning Hraban Ramm wrote:

Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context:
inserts a "blank" page (with header/footer) between the two 
Coverpages and a second "blank" page after the backside title page.


I don’t know if it helps, but did you set
\setupsectionblock[frontpart][page=no]
?


I had \setupsectionblock[frontpart][page=]
and setting page=no does not change anything.

I get the same behavior in my Volume 2 product, which does not have 
any \frontmatter.


I solved the problem by rather using:

 \definemakeup[cover][page][page=no,doublesided=no]
 \definelayout[cover][page]
 \startmakeup [cover]
   \filterpages[Coverpages][1]
 \stoppagemakeup
 \startmakeup [cover]
   \filterpages[Coverpages][2]
 \stoppagemakeup


\startlayout[page]
\filterpages[...]
\stoplayout

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
___

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster

Alan Braslau via ntg-context schrieb am 06.07.2023 um 09:34:

Hello,

Trying to use:

\startdocument

\startpagefigure[Coverpages.pdf][page=1]\stoppagefigure
\startpagefigure[Coverpages.pdf][page=2]\stoppagefigure

% before

\startmakeup [titlepage]
front
\stopmakeup

\startmakeup [titlepage]
back
\stopmakeup

\startfrontmatter
...
\stopfrontmatter

...

\stopdocument


inserts a "blank" page (with header/footer) between the two Coverpages 
and a second "blank" page after the backside title page.


Not including the two \startpagefigure lines eliminates the blank page 
following the back side title page (and the other one between the two 
Coverpages, of course).



This is not a MWE as it occurs in a complicated project but not in mwe 
snippets.


I suspect that this artifact is somehow related to the page={...} 
settings later in the document. How can I turn OFF all automatic page 
generation settings for the very beginning of my document? Any ideas?

(Title page makeup has always been somewhat of a mystery to me.)


Add "doublesided=no" to your makeup settings.

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
___

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Henning Hraban Ramm

Am 06.07.23 um 11:58 schrieb Alan Braslau:

Maybe it’s also a problem of \startdocument – I always get a first 
empty page and don’t understand why.


One gets an empty first page if there is *any* text content anywhere in 
the setups or environment files before the \startdocument.


My problem actually was \startMPcode; had nothing to do with 
\startdocument or your code, sorry.


Also sorry, seems like I can’t help you.

Hraban

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

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context

On 06/07/23 06/07/23, 10:14, Henning Hraban Ramm wrote:

Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context:
inserts a "blank" page (with header/footer) between the two Coverpages 
and a second "blank" page after the backside title page.


I don’t know if it helps, but did you set
\setupsectionblock[frontpart][page=no]
?


I had \setupsectionblock[frontpart][page=]
and setting page=no does not change anything.

I get the same behavior in my Volume 2 product, which does not have any 
\frontmatter.


I solved the problem by rather using:

 \definemakeup[cover][page][page=no,doublesided=no]
 \definelayout[cover][page]
 \startmakeup [cover]
   \filterpages[Coverpages][1]
 \stoppagemakeup
 \startmakeup [cover]
   \filterpages[Coverpages][2]
 \stoppagemakeup

Thank you for your suggestion!


Maybe it’s also a problem of \startdocument – I always get a first empty 
page and don’t understand why.


One gets an empty first page if there is *any* text content anywhere in 
the setups or environment files before the \startdocument.


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

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Henning Hraban Ramm

Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context:
inserts a "blank" page (with header/footer) between the two Coverpages 
and a second "blank" page after the backside title page.


I don’t know if it helps, but did you set
\setupsectionblock[frontpart][page=no]
?

Maybe it’s also a problem of \startdocument – I always get a first empty 
page and don’t understand why.


Hraban
___
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
___