[NTG-context] Size of the last shipped page by Lua?

Hans Hagen pragma at wxs.nl
Thu Sep 8 00:21:46 CEST 2016


On 9/7/2016 9:39 PM, josephcanedo at gmail.com wrote:

> There are dimensions related to this :
>
> local paper_width = tex.getdimen('paperwidth')
>
> local paper_height = tex.getdimen('paperheight')
>
> There is also :
>
> tex.pageheight
> tex.pagewidth

don't mess with these and don't rely on them

> Not sure these are always same. Hope this helps,

Hans

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


More information about the ntg-context mailing list