[NTG-context] Getting dimensions in Lua

Jairo A. del Rio jairoadelrio6 at gmail.com
Mon Jan 18 01:58:49 CET 2021


Hi, list.

I want to get some dimensions in Lua. See, for instance

\starttext

\the\dimexpr\availablehsize\relax %say, 426pt

\stoptext

Is there an equivalent in ConTeXt for Lua, i.e. without passing values from
TeX or, at least, using only Lua commands? Thank you in advance.

Best wishes,

Jairo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20210117/f6ba6e02/attachment.htm>


More information about the ntg-context mailing list