Re: [NTG-context] MPpage and single PDFs

2008-08-05 Thread Oliver Buerschaper
 This is what I'd do with ConTeXt … wicked trick, by the way ;-) But
 how to do that with LaTeX? I know it's somewhat off topic …

 From what I heard on the MacTeX list this can be done using LaTeX's  
pdfpages package …

Just in case someone might find this helpful.

Oliver
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MPpage and single PDFs

2008-08-05 Thread Wolfgang Schuster
On Mon, Aug 4, 2008 at 8:48 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:
 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
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] MPpage and single PDFs

2008-08-04 Thread Oliver Buerschaper
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
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MPpage and single PDFs

2008-08-04 Thread Martin Schröder
2008/8/4 Oliver Buerschaper [EMAIL PROTECTED]:
 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
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MPpage and single PDFs

2008-08-04 Thread Hans Hagen
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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MPpage and single PDFs

2008-08-04 Thread 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.


Aditya___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MPpage and single PDFs

2008-08-04 Thread 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.

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


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MPpage and single PDFs

2008-08-04 Thread Oliver Buerschaper
 just keep them in one file and access the images by page, so ..  
 include
 page 4 from file bla.pdf

This is what I'd do with ConTeXt … wicked trick, by the way ;-) But  
how to do that with LaTeX? I know it's somewhat off topic …

Oliver
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___