![](https://secure.gravatar.com/avatar/da275274bab3cdbc839a9d0e8f2c2299.jpg?s=120&d=mm&r=g)
Dear wizards, I was wondering whether there's a way to have ConTeXt spill out each \startMPpage … \stopMPpage it encounters as a separate PDF file … by default all MPpages seem to be collected into a single PDF file. Which is nice as long as this file is postprocessed by another ConTeXt document … however, I need to extract the individual figures from within LaTeX. So if anyone happens to know how to instruct LaTeX's graphicx package to do just that this would be a lovely alternative :-) Oliver
![](https://secure.gravatar.com/avatar/d8110a8a8a97be0803549ea5ee2e638b.jpg?s=120&d=mm&r=g)
2008/8/4 Oliver Buerschaper
extract the individual figures from within LaTeX. So if anyone happens to know how to instruct LaTeX's graphicx package to do just that this would be a lovely alternative :-)
All known TeX engines can only produce one output file per run. Best Martin
![](https://secure.gravatar.com/avatar/da275274bab3cdbc839a9d0e8f2c2299.jpg?s=120&d=mm&r=g)
extract the individual figures from within LaTeX. So if anyone happens to know how to instruct LaTeX's graphicx package to do just that this would be a lovely alternative :-)
All known TeX engines can only produce one output file per run.
Ah, you've probably got me wrong … what I'd like to know is whether there's a LaTeX equivalent of \externalfigure[all_my_figures.pdf][page=1] so perhaps something along the lines of \includegraphics[page=1]{all_my_figures.pdf}? Oliver
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Oliver Buerschaper wrote:
Dear wizards,
I was wondering whether there's a way to have ConTeXt spill out each
\startMPpage … \stopMPpage
it encounters as a separate PDF file … by default all MPpages seem to be collected into a single PDF file. Which is nice as long as this file is postprocessed by another ConTeXt document … however, I need to extract the individual figures from within LaTeX. So if anyone happens to know how to instruct LaTeX's graphicx package to do just that this would be a lovely alternative :-)
just keep them in one file and access the images by page, so .. include page 4 from file bla.pdf Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Mon, 4 Aug 2008, Hans Hagen wrote:
Oliver Buerschaper wrote:
Dear wizards,
I was wondering whether there's a way to have ConTeXt spill out each
\startMPpage … \stopMPpage
it encounters as a separate PDF file … by default all MPpages seem to be collected into a single PDF file. Which is nice as long as this file is postprocessed by another ConTeXt document … however, I need to extract the individual figures from within LaTeX. So if anyone happens to know how to instruct LaTeX's graphicx package to do just that this would be a lovely alternative :-)
just keep them in one file and access the images by page, so .. include page 4 from file bla.pdf
IIRC, graphicx package in LaTeX can do that, so it should not be a problem. Otherwise, you can use pdftk and "burst" the pdf into separate pages. Aditya
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
On Mon, Aug 4, 2008 at 8:48 PM, Aditya Mahajan
On Mon, 4 Aug 2008, Hans Hagen wrote:
Oliver Buerschaper wrote:
Dear wizards,
I was wondering whether there's a way to have ConTeXt spill out each
\startMPpage … \stopMPpage
it encounters as a separate PDF file … by default all MPpages seem to be collected into a single PDF file. Which is nice as long as this file is postprocessed by another ConTeXt document … however, I need to extract the individual figures from within LaTeX. So if anyone happens to know how to instruct LaTeX's graphicx package to do just that this would be a lovely alternative :-)
just keep them in one file and access the images by page, so .. include page 4 from file bla.pdf
IIRC, graphicx package in LaTeX can do that, so it should not be a problem. Otherwise, you can use pdftk and "burst" the pdf into separate pages.
You could use ConTeXt texexec --split filename Wolfgang
participants (5)
-
Aditya Mahajan
-
Hans Hagen
-
Martin Schröder
-
Oliver Buerschaper
-
Wolfgang Schuster