On 10/27/21 10:06 PM, Hans Hagen via ntg-context wrote:
> On 10/27/2021 9:20 PM, Pablo Rodriguez via ntg-context wrote:
>> On 10/26/21 6:31 PM, Pablo Rodriguez via ntg-context wrote:
>>> [...]
>>loader_times:write('.box placeholder width=' .. context.figurewidth
>> .. ' height=' .. contex
On 10/27/2021 9:20 PM, Pablo Rodriguez via ntg-context wrote:
On 10/26/21 6:31 PM, Pablo Rodriguez via ntg-context wrote:
[...]
Is there a way that I can get a number from context.figureheight, such
as I get it from tex.dimen.paperheight?
Sorry for insisting, I need it for a Lua script that in
Hi, Pablo. I have no idea of what you need to do, but in grph-inc.lua you
find the following (line 709):
implement { name = "figurestatus", actions = { get, context }, arguments
= { "'status'", "string", "string" } }
So that \figureheight calls this function via \clf_figurestatus and, in
turn,
On 10/26/21 6:31 PM, Pablo Rodriguez via ntg-context wrote:
> [...]
> Is there a way that I can get a number from context.figureheight, such
> as I get it from tex.dimen.paperheight?
Sorry for insisting, I need it for a Lua script that in the relevant
line reads:
loader_times:write('.box placeh
Dear list,
I have the following sample:
\starttext
\startluacode
document.sample = "xml-mkiv.pdf"
context.getfiguredimensions({ document.sample })
context(context.figureheight)
context.par()
context(tex.dimen.paperheight)
\stopluacode
\stoptext
Is there a way that I c