[NTG-context] access image properties in Lua

2023-07-11 Thread Henning Hraban Ramm
What’s the current approved way to get image properties within a Lua function? very old: local pic = figures.getinfo(figures.current().status.fullname) used to work in 2019: local pic = img.scan{filename = figures.current().status.fullname} if I understand this right, "img" isn’t valid

[NTG-context] Re: Fatal error using \enabletrackers[paragraphs.passes=summary]

2023-07-11 Thread Keith McKay
Thanks Hans, that works now. Best Wishes Keith On 11/07/2023 10:37, Hans Hagen wrote: On 7/11/2023 11:11 AM, Keith McKay wrote: Hi All Using\enabletrackers[paragraphs.passes=summary] whilst doing some testing causes a fatal error after first run but pdf is produced. Here is the error

[NTG-context] Re: Fatal error using \enabletrackers[paragraphs.passes=summary]

2023-07-11 Thread Hans Hagen
On 7/11/2023 11:11 AM, Keith McKay wrote: Hi All Using\enabletrackers[paragraphs.passes=summary] whilst doing some testing causes a fatal error after first run but pdf is produced. Here is the error message from the MWE: in spac-pas.lmt in lines 156 and 158 you can change classes into

[NTG-context] Fatal error using \enabletrackers[paragraphs.passes=summary]

2023-07-11 Thread Keith McKay
Hi All Using\enabletrackers[paragraphs.passes=summary] whilst doing some testing causes a fatal error after first run but pdf is produced. Here is the error message from the MWE: lua error:     run callback [6]: bad argument #2 to 'format' (number expected, got nil) stack traceback: