LaTeX

From miki
Revision as of 17:30, 21 October 2008 by Mip (talk | contribs) (→‎Importing MS Visio Graphics in LaTeX)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Importing MS Visio Graphics in LaTeX

This procedure creates from a Visio drawing, a PDF file that has the correct page dimension in order to be directly imported in a LaTeX document. This procedure requires to have OpenOffice Draw installed.

  • In Visio, File → Save As, select type Enhanced Metafile (.emf), enter a file name, click Save.
  • In OpenOffice Draw, Open the newly saved file, Select the drawing with the mouse, and then go to menu File → Export.
  • Check the box Selection, select format EPS - Encapsulated PostScript (.eps), save the file.
  • Press OK, to accept all default options (no preview, Level 2, Grayscale, no compression)
  • In a shell, type the command
epstopdf <filename.eps>

which will create a file <filename.pdf> with the correct page size.