ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
To: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
Cc: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Clipping multiple PDFs
Date: Tue, 23 Aug 2022 13:47:06 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.78.908.2208231339480.152217@nqv-guvaxcnq> (raw)
In-Reply-To: <ff34a054-48e1-a6de-f93c-2451ca390a8f@gmx.es>

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
___________________________________________________________________________________
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	other threads:[~2022-08-23 17:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 15:43 Jethro Djan via ntg-context
2022-08-23 15:27 ` Aditya Mahajan via ntg-context
2022-08-23 17:38   ` Pablo Rodriguez via ntg-context
2022-08-23 17:47     ` Aditya Mahajan via ntg-context [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-22 15:44 Jethro Djan via ntg-context
2022-08-18  0:13 jethro Reuel via ntg-context
2022-08-21 16:41 ` Pablo Rodriguez via ntg-context
2022-08-22 15:46   ` Jethro Djan via ntg-context
2022-08-23 15:57     ` Pablo Rodriguez via ntg-context
2022-08-23 17:12       ` Jethro Djan via ntg-context
2022-08-23 17:50         ` Pablo Rodriguez via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nycvar.YAK.7.78.908.2208231339480.152217@nqv-guvaxcnq \
    --to=ntg-context@ntg.nl \
    --cc=adityam@umich.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).