파워포인트로 작성한 그림을 EPS로 변환하려고(Latex에 넣으려고..) 처음에는 png로 저장해서 convert 명령으로 eps로 저장했는데... 품질도 않좋고 용량이 너무 커져서 다음과 같이 해결함.
1. 파워포인트에서 "save as picture" 해서 emf로 저장한다. 2. emftoeps를 이용해서 eps 파일로 변환한다.
- emftoeps로 변환하려면 Post Script 프린터 드라이버가 설치되어 있어야 한다. 이는 아무 PS 프린터 드라이버나(나는 HP Color LaserJet 5550로 설치)해 주고 emftoeps의 설정에서 프린터를 선택하면 된다. 이때, 칼라 프린터 드라이버로 설치하면 칼라로 eps 출력 되고, 흑백 드라이버를 설치하면 흑백으로 출력된다. 3. 출력된 eps 파일을 Latex에 넣어보니.. 그림이 작게(A4 사이즈로 인식하는듯?) 나와서 GSView에서 "save as eps" 로 eps 다시 저장 하고 나니 잘 된다.
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 fairly 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. 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.