On 10-9-2010 2:25, Peter Münster wrote:
\startbuffer[pdf-pages] \starttext page 1 \page page 2 \stoptext \stopbuffer \savebuffer[pdf-pages][pdf-pages.tex] \executesystemcommand{context pdf-pages; mkdir testdir; mv pdf-pages.pdf testdir/2*8.pdf} \starttext \setupexternalfigures[directory={./testdir}] \externalfigure[2*8][page=2] \stoptext
this works ok here: \startbuffer[pdf-pages] \starttext page 1 \page page 2 \page page 3 \page \stoptext \stopbuffer \savebuffer[pdf-pages][pdf-pages.tex] \executesystemcommand{context pdf-pages} \executesystemcommand{mkdir testdir} \executesystemcommand{move /Y pdf-pages.pdf testdir/28.pdf} \starttext \setupexternalfigures[directory={./testdir}] \externalfigure[28][page=3] \stoptext so, no * in the filename however, you can do this \starttext \startbuffer[pdf-pages] \starttext page 1 \page page 2 \stoptext \stopbuffer \typesetbuffer[pdf-pages][page=2,frame=on] \stoptext this has the advantage that when the buffer does not change, you get no new run either Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------