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?

Many thanks for your comment,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to