How to
Convert PowerPoint Pictures for Use in LaTeX
What These Are About
I was once faced with a problem of trying to put the pictures
I drew for my presentation into a revision of my paper. After a lot
of trial and error, I found a fairlsy simple way to do it.
I also received suggestions from others. Below are several
methods; different ones require different software that you may or may not
already have installed. Actually, portions of different methods may
also be fruitfully combined (in particular, there are several ways
to crop the figures to the correct size).
There
may well be easier or better ways;
please contact me
if you know more.
Method 1
This method assumes that you have Adobe Acrobat (not just the Reader, but the
actual Acrobat) installed on your machine.
- Convert you PowerPoint slide to .pdf. When you installed Acrobat,
it should have added a printer called "Acrobat Distiller" to your list
of printers. The conversion is accomplished by printing to that ethereal
printer. When you try to print to it, a dialogue box will pop up (sometimes
mysteriously hidden by your other applications) that will ask where you
want to save the resulting .pdf file.
- Open the .pdf file in Adobe Acrobat. Delete all the pages but the one
that contains your picture (use Document->Delete Pages). Then crop the
remaining page so that only the picture is left on it (Document->Crop Pages).
The select File->Save As, and select "Encapsulated PostScript (.eps)"
under the file type.
- Use LaTeX's psfig package to put the .eps figure into the LaTeX document.
Method 2
This method has the advantage of not needing Adobe Acrobat, but does need
simple additional software.
It does not allow you to crop the image, however, so get it right
in PowerPoint first. Thanks to Jeremy Strayer for suggesting this to me.
- Download EMFtoEPS.
Don't be scared--installation constists of merely unzipping the
archive. Run it. Choose Edit->Preferences, and select
a postscript printer and a resolution you want. Note that the settings
of the resulting eps will be the same as of the printer--e.g.,
if you want color, choose a color printer. You may need to install
one on your Windows system (you don't have to buy the printer,
just install the driver and "pretend" it's attached to some port).
More info in the .txt file accompanying EMFtoEPS.
- In PowerPoint, choose File->Save As, and save your slide
as "Windows Metafile (.wmf)" type.
- In EMFtoEPS, choose File->Open to open your metafile slide,
and then Convert->Selected to convert. You'll get an .eps
file with the same name in the same directory as the .wfm metafile.
- Use LaTeX's psfig package to put the .eps figure into the LaTeX document.
Method 3
This method possibly requires GSView software. Thanks
to Markus Nilsson for suggesting this.
- Install the drivers for a Postscript printer (often denoted PS in
the end of the name of the printer) if you don't already
have one installed on your computer. (This can be done as follows:
Start -> Control Panel -> Printers -> Add printer.
Press next a couple of times until you reach the page where you can
choose between different manufacturers.
Choose a Postscript printer, e.g., Lexmark Optra S 1250 PS.)
- Isolate each figure in its own PowerPoint document.
- Print the figure, but check the box "Save to file", and under properties/advanded/Postscript options, select
Encapsulated postscript (EPS).
- Now you're almost done. The default setting for the boundary box
for your drawing has been set to fill the whole page. If you
want to edit this, use GSView.
Under the File menu, use PS to EPS without checking the
"Automatically calculate Bounding Box". Select your new
bounding box, and save the file as an EPS.
- Use LaTeX's psfig package to put the .eps figure into the LaTeX document.
Method 4
Open the PowerPoint file in OpenOffice,
and export individual slides directly to eps or pdf. You may need
to use one of the above methods to crop the slides afterwards,
or you may try the command line tool ps2eps.
Thanks to Michael Palmer
for this suggestion.