thank you both.

why can't u just extend the the original macro to take a page range?  e.g., [page=1-2]

Taco Hoekwater wrote:
luigi scarso wrote:
  
hmm maybe
\copypages
    

Or, if you need more control, something like this:

  \getfiguredimensions[x.pdf]%
  \imgcount=\noffigurepages\relax
  \dorecurse
      {\the\imgcount}
      {\externalfigure
          [x.pdf]
          [page=\recurselevel]}


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________