23 Aug
2022
23 Aug
'22
5:47 p.m.
On Tue, 23 Aug 2022, Pablo Rodriguez via ntg-context wrote:
On 8/23/22 17:27, Aditya Mahajan via ntg-context wrote:
[...] For a more low-level interface to finding the number of pages, see:
https://adityam.github.io/context-blog/post/include-multi-page-pdf/
Hi Aditya,
I wonder whether your final definition should be rewritten as:
\unexpanded\def\includePDF[#1]% {\getfiguredimensions[#1] \dorecurse{\noffigurepages} {\startTEXpage \externalfigure[#1][page=\recurselevel] \stopTEXpage}}
At least, otherwise it will only work with "talk.pdf".
Or am I missing something?
Thanks. That was a typo and is now fixed. Aditya