[Tex/LaTex] What’s the best way to embed Visio diagrams

diagramsembeddingpdfsvg

I was wondering if there is an easier (and better) way of embedding Visio diagrams into a LaTeX document.

As far as I know there a two ways:

  1. Save Visio Diagram as PNG and use \includegraphics
  2. Save Visio Diagram as SVG and convert it via Inkscape to a PDF and include the PDF

No. 1 has the big downside that the graphics are not scalable without producing artefacts.

No. 2 has an unfavourable work-flow.

Best Answer

I don't have MS Visio myself, but all the other MS Office 2010 (and 2007 as well, methinks) programs are able to export to/save as PDF natively:

  1. Click the File tab.
  2. Click Save As.
  3. In the File Name box, enter a name for the file, if you haven't already.
  4. In the Save as type list, click PDF (*.pdf).

    • If you want the file to open in the selected format after saving, select the Open file after publishing check box.
    • If the document requires high print quality, click Standard (publishing online and printing).
    • If file size is more important than print quality, click Minimum size (publishing online).
  5. Click Options to set the page to be printed, to choose whether markup should be printed and to select output options. Click OK. Click Save.

(applies to Viso 2010, http://office.microsoft.com/en-us/visio-help/save-as-pdf-HA010354239.aspx#BM10)

Here's the guide for Visio 2007.

You might have to run pdfcrop afterwards, as Martin suggested.

Related Question