Hans / Wolfgang,
Thank you for your quick feedback and the tips. Yes, this works for now.
In general, I will try to avoid going into such "deep-end" APIs (at least
for now, until such time I read all the manuals in depth!). IMHO, the
standard ConTeXt system is itself quite powerful for 98% of
On 10/16/2021 10:33 AM, Wolfgang Schuster via ntg-context wrote:
Ramkumar KB via ntg-context schrieb am 16.10.2021 um 06:00:
Hello All,
I was trying to read the value of '\totalnumberofpages' into lua to do
something with it. As an example, see below.
Now, as I understand it, my example
Ramkumar KB via ntg-context schrieb am 16.10.2021 um 06:00:
Hello All,
I was trying to read the value of '\totalnumberofpages' into lua to do
something with it. As an example, see below.
Now, as I understand it, my example would not work as TeX gets the
first go at this and therefore the
Hello All,
I was trying to read the value of '\totalnumberofpages' into lua to do
something with it. As an example, see below.
Now, as I understand it, my example would not work as TeX gets the first go
at this and therefore the variable 'pages' is the string
'\totalnumberofpages' and not the