TeXShop ⇒ eps Files don't work !?
eps Files don't work !?
I'm using the latest version of TexShop to put together a report. I generated some .eps figures with Tecplot that I want to include. I am using the packages epsfig and graphicx. My basic structure for the figure is the following:
\begin{figure}[!h]
\begin{center}
\epsfig{file=rotor_upr.eps}
\caption{{\bf default}}
\label{default}
\end{center}
\end{figure}
When I try to typeset the document, I get an error message saying "!LaTeX Error: Unknown graphicsextension: .eps". Does anyone have any idea what the issue is with this? Thanks
\begin{figure}[!h]
\begin{center}
\epsfig{file=rotor_upr.eps}
\caption{{\bf default}}
\label{default}
\end{center}
\end{figure}
When I try to typeset the document, I get an error message saying "!LaTeX Error: Unknown graphicsextension: .eps". Does anyone have any idea what the issue is with this? Thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10319
- Joined: Mon Mar 10, 2008 9:44 pm
Re: eps Files don't work !?
Hi TX_aero,
welcome to this board!
Don't use pdflatex, use latex instead. pdflatex does not support the eps format.
Stefan
welcome to this board!
Don't use pdflatex, use latex instead. pdflatex does not support the eps format.
Stefan
LaTeX.org admin
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
eps Files don't work !?
Use the graphicx package only and modify your code as follows.TX_aero wrote:[…] I am using the packages epsfig and graphicx. […]
Code: Select all
\begin{figure}[!ht]
\centering
\includegraphics{rotor_upr.eps}
\caption{Default}\label{fig:default}
\end{figure}
Since you want to include EPS files, you have to compile your source code with latex. If you want to compile with pdflatex, you have to convert your EPS files to PDF. This conversion can be done with epstopdf on the command prompt or with the epstopdf package "on the fly".TX_aero wrote:[…] When I try to typeset the document, I get an error message saying "!LaTeX Error: Unknown graphicsextension: .eps". Does anyone have any idea what the issue is with this? […]
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: eps Files don't work !?
Thanks for the advice guys. I appreciate it.
Re: eps Files don't work !?
I am using Version 2.14-svn (2.14) of TeXShop and I can get neither .pdf nor .eps figures to appear in the typeset .pdf document. With
\usepackage{graphics}
the LaTeX code I'm using for the .pdf version is:
\begin{figure}[!ht]
\begin{center}
\includegraphics{./pdf/Figa.pdf}
%\epsfile{file="./eps/Figa.eps",scale=0.8}
\caption{{\bf Flows over a Wing}}
\label{fig:ina}
\end{center}
\end{figure}
Thanks for your help.
Charlie
\usepackage{graphics}
the LaTeX code I'm using for the .pdf version is:
\begin{figure}[!ht]
\begin{center}
\includegraphics{./pdf/Figa.pdf}
%\epsfile{file="./eps/Figa.eps",scale=0.8}
\caption{{\bf Flows over a Wing}}
\label{fig:ina}
\end{center}
\end{figure}
Thanks for your help.
Charlie
- Stefan Kottwitz
- Site Admin
- Posts: 10319
- Joined: Mon Mar 10, 2008 9:44 pm
Re: eps Files don't work !?
Hi Charlie,
welcome to the forum!
Could you post the logfile as attachment? Perhaps we could find the cause by reading it.
Stefan
welcome to the forum!
Could you post the logfile as attachment? Perhaps we could find the cause by reading it.
Stefan
LaTeX.org admin
Re: eps Files don't work !?
Hey Im sorry, If I had not understood from the above discussion.
My problem is same, I want to use the *.eps file from illustrator.
But later in latex i want to change some variables of this picture with symbols.
But my latex is converting the eps file to pdf.
pls some one help me how to use *.esp file without converting to pdf.
I'm using TexShop 2.47
Thanks in advance
My problem is same, I want to use the *.eps file from illustrator.
But later in latex i want to change some variables of this picture with symbols.
But my latex is converting the eps file to pdf.
pls some one help me how to use *.esp file without converting to pdf.
I'm using TexShop 2.47
Thanks in advance