* standardmakeup and pages
@ 2019-08-29 14:33 Henning Hraban Ramm
2019-08-29 14:47 ` mf
2019-08-29 14:58 ` mf
0 siblings, 2 replies; 4+ messages in thread
From: Henning Hraban Ramm @ 2019-08-29 14:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi again,
in my books I often use \startstandardmakeup for the initial pages.
A typical use case is a bastard title (half-title) on the first page and the copyright information (imprint) on the second, like in this MWE:
\setuppagenumbering[
alternative=doublesided,
]
\starttext
\startstandardmakeup[align=center]
bastard title
\stopstandardmakeup
\startstandardmakeup[page=left]
\vfill
imprint
\stopstandardmakeup
\stoptext
With a doublesided layout, the second (left) page is preceded by two empty pages.
How can I avoid that?
Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: standardmakeup and pages
2019-08-29 14:33 standardmakeup and pages Henning Hraban Ramm
@ 2019-08-29 14:47 ` mf
2019-08-29 14:58 ` mf
1 sibling, 0 replies; 4+ messages in thread
From: mf @ 2019-08-29 14:47 UTC (permalink / raw)
To: ntg-context
Il 29/08/19 16:33, Henning Hraban Ramm ha scritto:
> \setuppagenumbering[
> alternative=doublesided,
> ]
>
> \starttext
>
> \startstandardmakeup[align=center]
> bastard title
> \stopstandardmakeup
>
> \startstandardmakeup[page=left]
> \vfill
> imprint
> \stopstandardmakeup
>
> \stoptext
\setuppagenumbering[
alternative=doublesided,
]
\definemakeup[title-page][align=middle,doublesided=no,pagestate=start]
\definemakeup[imprint][align=top,page=no,pagestate=start]
\starttext
\startmakeup[title-page]
bastard title
\stopmakeup
\startmakeup[imprint]
\vfill
imprint
\stopmakeup
\stoptext
Best wishes,
Massimiliano
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: standardmakeup and pages
2019-08-29 14:33 standardmakeup and pages Henning Hraban Ramm
2019-08-29 14:47 ` mf
@ 2019-08-29 14:58 ` mf
2019-08-29 15:09 ` Henning Hraban Ramm
1 sibling, 1 reply; 4+ messages in thread
From: mf @ 2019-08-29 14:58 UTC (permalink / raw)
To: ntg-context
\setuppagenumbering[
alternative=doublesided,
]
% use pagestate=start on both makeups only if you want the title page
% to be the page 1 of the book
\definemakeup[title-page][align=middle,doublesided=no]
\definemakeup[imprint][align=top,page=no]
\starttext
\startmakeup[title-page]
bastard title
\stopmakeup
\startmakeup[imprint]
\vfill
imprint
\stopmakeup
This is the beginning of the book...
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: standardmakeup and pages
2019-08-29 14:58 ` mf
@ 2019-08-29 15:09 ` Henning Hraban Ramm
0 siblings, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm @ 2019-08-29 15:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Am 2019-08-29 um 16:58 schrieb mf <massifr@fastwebnet.it>:
>
> \setuppagenumbering[
> alternative=doublesided,
> ]
>
> % use pagestate=start on both makeups only if you want the title page
> % to be the page 1 of the book
> \definemakeup[title-page][align=middle,doublesided=no]
Thank you!
I don’t know why I didn’t look into the command reference myself, sorry. I’m probably too tired.
Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-08-29 15:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-29 14:33 standardmakeup and pages Henning Hraban Ramm
2019-08-29 14:47 ` mf
2019-08-29 14:58 ` mf
2019-08-29 15:09 ` Henning Hraban Ramm
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).