- Oct 28, 2005
- 9,840
- 6
- 71
I need to convert Visio drawings into PDF's for latex figures. I have not found a good way to do this. The best that I can do is draw the figure in Visio, save it in Visio as an EMF, open the EMF in OpenOffice and save as an EPS and then in linux convert the EPS to PDF.
The reason for the convoluted process is that I need to keep the drawing in a vector format so that I do not have any quality problems when scaling it in latex. That's why I do not want to save it as a JPEG or anything. The other problem is that if, for example, I use a postscript printer driver (HP Lasterjet 5/5M PS) to generate the EPS directly from Visio, the bounding box of the EPS is incorrect. Having OpenOffice export the figure as an EPS generally guarantees that the bounding box is set correctly.
The problem I am having now is that one of my drawings uses a fill to create hatching. This hatching is not preserved doing my usual process. For some reason the hatching is not shown when OpenOffice opens the EMF. I have tried saving it in Visio as a SVG and using Xara Xtreme to open the SVG to export to EPS but it doesn't render the SVG for some reason and exports garbage.
So does anyone know how I can start with a Visio drawing and convert it into a PDF without compromising the quality or bounding box so that it can be inserted into a latex document?
The reason for the convoluted process is that I need to keep the drawing in a vector format so that I do not have any quality problems when scaling it in latex. That's why I do not want to save it as a JPEG or anything. The other problem is that if, for example, I use a postscript printer driver (HP Lasterjet 5/5M PS) to generate the EPS directly from Visio, the bounding box of the EPS is incorrect. Having OpenOffice export the figure as an EPS generally guarantees that the bounding box is set correctly.
The problem I am having now is that one of my drawings uses a fill to create hatching. This hatching is not preserved doing my usual process. For some reason the hatching is not shown when OpenOffice opens the EMF. I have tried saving it in Visio as a SVG and using Xara Xtreme to open the SVG to export to EPS but it doesn't render the SVG for some reason and exports garbage.
So does anyone know how I can start with a Visio drawing and convert it into a PDF without compromising the quality or bounding box so that it can be inserted into a latex document?