* Go to odd page, use an empty page eventually?
@ 2016-07-20 7:37 Procházka Lukáš Ing.
2016-07-20 8:37 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Procházka Lukáš Ing. @ 2016-07-20 7:37 UTC (permalink / raw)
To: ConTeXt
Hello,
is there a way to tell ConTeXt "go to odd page, insert empty page to reach the next odd page" eventually?
(IOW:
When currently on odd page, break page and insert one empty (blank) (= even) page; continue on the next (= odd) page.
When currently on even page, break page (and do nothing more) (and continue on the next (= odd) page).
)
In the following example:
----
\starttext
Page 1
\page[odd]
%\page[odd,empty]
%\page[odd,header,footer]
Page 3
\stoptext
----
- \page[odd]: page 2 holds header and footer (unwanted)
- \page[odd,empty]: adds one page with header and footer (unwanted), then inserts an empty page (unwanted)
- \page[odd,header,footer] = \page[odd]
Best regards,
Lukas
--
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751 (+420 720 951 172)
Fax: +420 244 461 038
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Go to odd page, use an empty page eventually?
2016-07-20 7:37 Go to odd page, use an empty page eventually? Procházka Lukáš Ing.
@ 2016-07-20 8:37 ` Wolfgang Schuster
2016-07-20 9:32 ` Procházka Lukáš Ing.
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2016-07-20 8:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1358 bytes --]
> Procházka Lukáš Ing. <mailto:LPr@pontex.cz>
> 20. Juli 2016 um 09:37
> Hello,
>
> is there a way to tell ConTeXt "go to odd page, insert empty page to
> reach the next odd page" eventually?
>
> (IOW:
> When currently on odd page, break page and insert one empty
> (blank) (= even) page; continue on the next (= odd) page.
> When currently on even page, break page (and do nothing more) (and
> continue on the next (= odd) page).
> )
>
> In the following example:
>
> ----
> \starttext
> Page 1
> \page[odd]
> %\page[odd,empty]
> %\page[odd,header,footer]
> Page 3
> \stoptext
> ----
>
> - \page[odd]: page 2 holds header and footer (unwanted)
> - \page[odd,empty]: adds one page with header and footer (unwanted),
> then inserts an empty page (unwanted)
> - \page[odd,header,footer] = \page[odd]
You need "\page[yes,header,footer,odd]".
\starttext
Page 1\page[yes,header,footer,odd]
%Page 2
Page 3\page
Page 4\page[yes,header,footer,odd]
Page 5
\stoptext
The keywords have the following effect:
- yes: force a page break
- header: sets \setupheader[state=emty] on the following page
- footer: sets \setupfooter[state=empty] on the following page
- odd: forces another pagebreak if the current page is even and
resets the header/footer states
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2441 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Go to odd page, use an empty page eventually?
2016-07-20 8:37 ` Wolfgang Schuster
@ 2016-07-20 9:32 ` Procházka Lukáš Ing.
0 siblings, 0 replies; 3+ messages in thread
From: Procházka Lukáš Ing. @ 2016-07-20 9:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
That's it, thank you! Lukas
On Wed, 20 Jul 2016 10:37:04 +0200, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>> Procházka Lukáš Ing. <mailto:LPr@pontex.cz>
>> 20. Juli 2016 um 09:37
>> Hello,
>>
>> is there a way to tell ConTeXt "go to odd page, insert empty page to
>> reach the next odd page" eventually?
>>
>> (IOW:
>> When currently on odd page, break page and insert one empty
>> (blank) (= even) page; continue on the next (= odd) page.
>> When currently on even page, break page (and do nothing more) (and
>> continue on the next (= odd) page).
>> )
>>
>> In the following example:
>>
>> ----
>> \starttext
>> Page 1
>> \page[odd]
>> %\page[odd,empty]
>> %\page[odd,header,footer]
>> Page 3
>> \stoptext
>> ----
>>
>> - \page[odd]: page 2 holds header and footer (unwanted)
>> - \page[odd,empty]: adds one page with header and footer (unwanted),
>> then inserts an empty page (unwanted)
>> - \page[odd,header,footer] = \page[odd]
> You need "\page[yes,header,footer,odd]".
>
> \starttext
> Page 1\page[yes,header,footer,odd]
> %Page 2
> Page 3\page
> Page 4\page[yes,header,footer,odd]
> Page 5
> \stoptext
>
> The keywords have the following effect:
>
> - yes: force a page break
> - header: sets \setupheader[state=emty] on the following page
> - footer: sets \setupfooter[state=empty] on the following page
> - odd: forces another pagebreak if the current page is even and
> resets the header/footer states
>
> Wolfgang
>
--
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751 (+420 720 951 172)
Fax: +420 244 461 038
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-20 9:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-20 7:37 Go to odd page, use an empty page eventually? Procházka Lukáš Ing.
2016-07-20 8:37 ` Wolfgang Schuster
2016-07-20 9:32 ` Procházka Lukáš Ing.
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).