[NTG-context] not able to change paper sizes

Hans Hagen pragma at wxs.nl
Wed Feb 3 14:57:47 CET 2016


On 2/1/2016 7:38 PM, Pablo Rodriguez wrote:
> Dear list,
>
> in this sample adapted from the documented code:
>
> \definepapersize[main] [A4]          [A4]
> \definepapersize[extra][A4,landscape][A4,landscape]
>
> \starttext
>      \setuppapersize[main]
>      Page 1. \page
>      Page 2. \page
>      \setuppapersize[extra]
>      Page 2 \page
>      \setuppapersize[main]
>      Page 3. \page
>      Page 4. \page
>      \adaptpapersize[extra]
>      Page 5. \page
>      Page 6. \page
>      \startTEXpage[height=210mm, width=297mm]
>      Page 6.
>      \stopTEXpage
> \stoptext
>
> It isn’t possible to change the paper size. Only TEXpage does
> change the paper size.
>
> Could anyone confirm the bug?

more a side effect (synchronizing all related settings can result in 
recursive calls)

i'll add a poor mans sync but normally one will use

\setuplayout (with or without arguments) because simply changing the 
papersize only has no use

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list