Graphics, Figures & TablesVector graphics from Visio, eps and Unknown graphics ext...

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
nozyck
Posts: 2
Joined: Thu Aug 19, 2010 1:49 am

Vector graphics from Visio, eps and Unknown graphics ext...

Post by nozyck »

I need to use vector graphics from Visio - looks like there're problems with svg so I converted it using Inkscape to eps file. Looks like Inkscape has problems with it - from Visio
In Visio
In Visio
img1cz.png (20.36 KiB) Viewed 4660 times
(view in editor so no grid in final version)

from Inkscape -
In Inkscape
In Inkscape
img2l.png (25.23 KiB) Viewed 4660 times
Also using converted graphics (or files from other source - so it should be ok) doesn't work.
For (in Miktex):

Code: Select all

\usepackage{graphicx}
\usepackage{epsfig}
%and

\begin{figure}
\label{rys:1}
\centerline{\psfig{figure=rys1.eps,height=3.0cm}}
\caption{\rdm{txt}}
\end{figure}
%or 
\begin{figure}    
\includegraphics[width=90mm]{rys1.eps}
\caption{\rdm{txt}}
\label{rys:1}
\end{figure}
I have message:
! LaTeX Error: Unknown graphics extension: .eps.

Edit by localghost: No external links (see Board Rules)! Attachments go onto the forum server (where applicable).

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Vector graphics from Visio, eps and Unknown graphics ext

Post by frabjous »

Are you compiling via pdflatex or via latex > ps > pdf? You'll need to do the latter to use .eps (or else load the epstopdf package).

If you want to use pdflatex, try converting in Inkscape to pdf instead of eps.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Vector graphics from Visio, eps and Unknown graphics ext...

Post by localghost »

If supported, use a probable export function to EPS and convert afterwards with the command line tool epstopdf or »on the fly« with the epstopdf package.


Best regards and welcome to the board
Thorsten
nozyck
Posts: 2
Joined: Thu Aug 19, 2010 1:49 am

Re: Vector graphics from Visio, eps and Unknown graphics ext

Post by nozyck »

I found SaveAsPDFandXPS for Visio. It creates document with a lot of useless around diagram (I can't save selected area only like when I save to png etc.) so I converted output pdf to pdf using Inkscape. I putted it to my document as normal image - now it looks excellent.
Last edited by nozyck on Thu Aug 26, 2010 7:07 pm, edited 1 time in total.
Post Reply