I have a PDF file with multiple figures; each figure is a separate page in the PDF file.
I am using pdflatex, and I would like to use \includegraphics or equivalent to include some of the figures.
Of course I could use an external tool to split the PDF file into multiple one-page PDF files. Then I could use \includegraphics as usual. However, I would have a much simpler workflow if I could avoid this extra step. Hence the question:
How can I include, e.g., page 3 of foo.pdf as a figure?
I am aware that there is a Latex package called pdfpages, but it seems to be designed for something else: with pdfpages, each page in the input file will produce a full page in the final document, not just a box.
\includegraphics[page=3]{foo}, but didn't try it, as I couldn't find anything like that in the documentation of thegraphicxpackage... Thus a follow-up question that might help me and others in the future: where is thepage=option documented? – Jukka Suomela Dec 29 '10 at 19:35pdftex, the reason why you find it not ingraphicx, but in the filepdftex.def– Dec 29 '10 at 19:53graphicxpackage has "automatic pdfTeX support", the pdftex documentation isn't really helpful either. (I've been using graphicx for years and didn't know about this either.) – Alan Munn Dec 29 '10 at 21:17pdftex.defhas some more useful features. I understand your point, but it is not me who provides pdftex.def ... :-) – Dec 29 '10 at 21:34\includegraphics[page=..,trim=...,clip]{file.pdf}– Mar 08 '13 at 08:32\includegraphicsalways includes ONE page. If you want more then use\includepdf– Jan 09 '15 at 09:53