Graphics, Figures & TablesUnrecogonized File Format EPS

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

Unrecogonized File Format EPS

Post by jaybz »

I'm running Linux Natty, I have Texlive-full installed and I'm using Gummi.
I am receiving the error "Unrecogonized file format" when trying to include a eps file in Gummi. The graphic was created with Inkscape and exported to eps. I have also tried saving to PDF then converting to eps using pdftops.

Code: Select all

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[htp]
\centering
\includegraphics[scale=1.00]{/home/jaybz/Desktop/Graph1.eps}
\caption{}
\label{}
\end{figure}
\end{document}
Last edited by jaybz on Fri Jun 24, 2011 8:46 pm, edited 1 time in total.

Recommended reading 2024:

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

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

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

Re: Unrecogonized File Format EPS

Post by frabjous »

Are you compiling with pdflatex or regular latex? You'll need to use regular latex for EPS files.
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

Re: Unrecogonized File Format EPS

Post by jaybz »

With Gummi your choices for compilation under
Edit -> Preferences -> Miscellaneous -> "Typesetter Command"
are: pdflatex, xelatex and custom. I'm not sure how to create a custom command that will make it use regular latex.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Unrecogonized File Format EPS

Post by frabjous »

The easiest thing to do would probably be to export the image you're trying to use to PDF and then include the PDF. pdflatex supports PDF format directly. Converting to EPS is counterproductive.

The alternative is to try to write a script that calls latex, dvips and ps2pdf in succession and have gummi use the script as a custom command. I imagine it will slow down gummi's live preview though, so I'd do that only as a last resort.
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

Re: Unrecogonized File Format EPS

Post by jaybz »

Ok, the direct to PDF method works for me. Thank you.
Post Reply