[NTG-context] Clipping multiple PDFs
oinos at gmx.es
Tue Aug 23 17:57:49 CEST 2022
On 8/22/22 17:46, Jethro Djan via ntg-context wrote:
> Thanks for the solution Pablo. It works well.
Glad to read it worked for you, Jethro.
> I wanted to add more pdfs (which also has many pages) and found it
> was easier for me to reason in the lua side of things. This is what I
> have at the moment:
I think this might be what you intend:
[page=\recurselevel, width=20cm, scale=950]}}
> I didn’t know how to get an array (or indexed table or whatever you
> call it) in ConTeXt/Tex.
\doloopoverlist & \recursestring are your friends here.
> My problem is now with context(context.noffigurepages). Am I calling
> it wrong? All I want to do is call \noffigurepages from the lua side.
> Is there something I am missing?
The approach is totally different: "getnofpages"
BTW, your code crashed my session, CPU goes to 100% and RAM usage too. I
wonder how your sample could be compiled fine by your system.
I hope it helps,
More information about the ntg-context