# [pdftex] Multiple pdf files from one source document.

Hans Hagen pragma at wxs.nl
Fri Dec 31 22:26:08 CET 2004

```Heiko Oberdiek wrote:
> On Fri, Dec 24, 2004 at 03:47:51PM -0500, John Culleton wrote:
>
>
>>I want to manufacture a series of small pdf files for use as graphical inserts
>>in a Context project. Obviously I can create each one with a separate input
>>file but that is clumsy.
>
>
> You can generate one pdf file with all graphical pictures on
> separate pages. Then tell pdfTeX to insert the wanted page.
> I am sure, ConTeXt can this, but I do not know the syntax.
> In LaTeX or plain TeX I would say for the tenth page of
> pictures.pdf:
>   \includegraphics[page=10]{pictures.pdf}

it looks like context and latex agree on the syntax -)

\externalfigure[pictures.pdf][page=10]

however, watch the order of teh arguments

Hans

-----------------------------------------------------------------