[NTG-context] Clipping multiple PDFs
Aditya Mahajan
adityam at umich.edu
Tue Aug 23 19:47:06 CEST 2022
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
More information about the ntg-context
mailing list