[NTG-context] Restoring/switching paper size?

Procházka Lukáš Ing. LPr at pontex.cz
Wed Jul 20 08:44:00 CEST 2016


Great, thank you! Lukas


On Mon, 18 Jul 2016 17:12:04 +0200, Wolfgang Schuster <schuster.wolfgang at gmail.com> wrote:

> A normal environment should be enough (push and pop are used to save and
> restore states etc.) which inserts are the necessary page breaks.
>
> \unprotect
>
> \def\startpapersize
>    {\page
>     \pushmacro\page_paper_restore
>     \setuppapersize}
>
> \def\stoppapersize
>    {\page
>     \popmacro\page_paper_restore
>     \setuppapersize}
>
> \protect
>
> \starttext
>      Page 1. \page
>      Page 2. \page
>      \startpapersize[A4,landscape]
>      Page 3. \page
>      Page 4. \page
>      \stoppapersize
>      Page 5. \page
>      Page 6. \page
> \stoptext
>
> Wolfgang
>


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at 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



More information about the ntg-context mailing list