* Title pages makeup extra blank pages
@ 2023-07-06 7:34 Alan Braslau via ntg-context
2023-07-06 8:14 ` Henning Hraban Ramm
2023-07-06 15:07 ` Wolfgang Schuster
0 siblings, 2 replies; 8+ messages in thread
From: Alan Braslau via ntg-context @ 2023-07-06 7:34 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Alan Braslau
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.)
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] 8+ messages in thread
* Re: Title pages makeup extra blank pages
2023-07-06 7:34 Title pages makeup extra blank pages Alan Braslau via ntg-context
@ 2023-07-06 8:14 ` Henning Hraban Ramm
2023-07-06 9:58 ` Alan Braslau via ntg-context
2023-07-06 15:07 ` Wolfgang Schuster
1 sibling, 1 reply; 8+ messages in thread
From: Henning Hraban Ramm @ 2023-07-06 8:14 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Title pages makeup extra blank pages
2023-07-06 8:14 ` Henning Hraban Ramm
@ 2023-07-06 9:58 ` Alan Braslau via ntg-context
2023-07-06 10:40 ` Henning Hraban Ramm
2023-07-06 15:09 ` Wolfgang Schuster
0 siblings, 2 replies; 8+ messages in thread
From: Alan Braslau via ntg-context @ 2023-07-06 9:58 UTC (permalink / raw)
To: mailing list for ConTeXt users, Henning Hraban Ramm; +Cc: Alan Braslau
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Title pages makeup extra blank pages
2023-07-06 9:58 ` Alan Braslau via ntg-context
@ 2023-07-06 10:40 ` Henning Hraban Ramm
2023-07-06 15:09 ` Wolfgang Schuster
1 sibling, 0 replies; 8+ messages in thread
From: Henning Hraban Ramm @ 2023-07-06 10:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Title pages makeup extra blank pages
2023-07-06 7:34 Title pages makeup extra blank pages Alan Braslau via ntg-context
2023-07-06 8:14 ` Henning Hraban Ramm
@ 2023-07-06 15:07 ` Wolfgang Schuster
2023-07-06 15:14 ` Alan Braslau via ntg-context
1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2023-07-06 15:07 UTC (permalink / raw)
To: mailing list for ConTeXt users, Alan Braslau via ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1156 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1686 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
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] 8+ messages in thread
* Re: Title pages makeup extra blank pages
2023-07-06 9:58 ` Alan Braslau via ntg-context
2023-07-06 10:40 ` Henning Hraban Ramm
@ 2023-07-06 15:09 ` Wolfgang Schuster
1 sibling, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2023-07-06 15:09 UTC (permalink / raw)
To: mailing list for ConTeXt users, Alan Braslau via ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Title pages makeup extra blank pages
2023-07-06 15:07 ` Wolfgang Schuster
@ 2023-07-06 15:14 ` Alan Braslau via ntg-context
2023-07-06 15:37 ` Wolfgang Schuster
0 siblings, 1 reply; 8+ messages in thread
From: Alan Braslau via ntg-context @ 2023-07-06 15:14 UTC (permalink / raw)
To: Wolfgang Schuster, mailing list for ConTeXt users; +Cc: Alan Braslau
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Title pages makeup extra blank pages
2023-07-06 15:14 ` Alan Braslau via ntg-context
@ 2023-07-06 15:37 ` Wolfgang Schuster
0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2023-07-06 15:37 UTC (permalink / raw)
To: Alan Braslau; +Cc: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-07-06 15:37 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06 7:34 Title pages makeup extra blank pages Alan Braslau via ntg-context
2023-07-06 8:14 ` Henning Hraban Ramm
2023-07-06 9:58 ` Alan Braslau via ntg-context
2023-07-06 10:40 ` Henning Hraban Ramm
2023-07-06 15:09 ` Wolfgang Schuster
2023-07-06 15:07 ` Wolfgang Schuster
2023-07-06 15:14 ` Alan Braslau via ntg-context
2023-07-06 15:37 ` Wolfgang Schuster
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).