I had a question about a file extension I was dealing with after creating a graphics file using the computing software Maxima. When I created the plot I wanted, I saved the file and it saved as a .EMF file. I am not too familiar with this file extension and wanted some advice as to how (if possible) can this file be implemented into the .tex file I am trying to create.
|
|
|||||||||||||
|
|
You need to export the plot in a graphics file. This can be either a .png, .jpg, .eps or .pdf. However from looking at the Maxima website, it has a list of help articles for TeX exports - here. I've not used Maxima to create graphs as I tend to use GNUPlot as I find it the easiest method to create graphs and then export them into LaTeX. Might be worth investigating that if it can help. |
|||||
|
|
If this software can't produce a EPS or PDF file itself you should convert the EMF file (Enhanced Windows Metafile, a Windows (read Microsoft) vector graphics format) to either PDF ( You can try to use the
But often it doesn't work well with the fonts. There is also Inkscape (under Linux I mean), a vector graphic drawing program which reads and writes a lot of formats and does a very good job. Under MS Windows you might also try to simply open the EMF file using whatever tool Windows provides for it and print it using a PDF printer (e.g. the free |
|||||
|
|
The Lyx people have links to a Metafile to EPS converter, which works for both WMF and EMF files. This needs to be installed on a Windows system, but provided you have one of these available seems to work well. Sometimes the resulting EPS file is rather large, but for me conversion to PDF format seems to resolve this (if you are using pdfLaTeX, of course). |
|||
|
|
|
There are a lot of ways converting an EPS to PDF - however most of them don't work properly. For example the ImageMagick convert function places a rasterized image with unreadable textes in the PDF. The best results I got was using the Windows built in "Windows Picture and Fax Viewer" and then print to PDF using an PDFCreator (Adobe PDF 9 created small errors). After changing the paper orientation manually to landscape printing worked like a charm and the result is a vector based image. |
|||
|
|
