I met a problem when try to include a eps file in LaTex.
Tha warning message is as following:
=========================================================================
! LaTeX Error: Unknown graphics extension: .eps.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.73 \includegraphics[scale=1]{pc1.eps}
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
========================================================================
By the way, I try to convert a postscript file into esp file by
GSview, PS - EPS option. The type of the file is still postscript.
Could you do me a favor and give me some suggestions?
Thank you!
ANNlearner
either you are not using LaTeX (but rather pdfLaTeX) or you are using
the wrong option to graphicx, please post a minimal example
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
Thank you for your reply,
minimal example:
=================================================================================
\documentclass[10pt]{report}
\usepackage{graphicx} % package for insert graphics
\begin{document}
\includegraphics[scale=1]{pc1.eps}
\end{document}
==================================================================================
Error Message:
=================================================================================
! LaTeX Error: Unknown graphics extension: .eps.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.4 \includegraphics[scale=1]{pc1.eps}
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
=================================================================================
This happens when using pdflatex or pdftex in conjunction with EPS
graphics. One way to fix this is to go the latex -> dvips -> ps2pdf route
for producing PDF output. Another (better, in my view) way is to use only
PNG graphics in conjunction with pdflatex or pdftex. Converting is simple
in Xfig, just export as PNG.
Replacing a vector image by a raster is often a very poor choice.
I would never do it.
Or use epstopdf to make the eps files into pdfs (can be done on the
fly if you install epstopdf and use the epstopdf package).
Joseph Wright
then you are using pdflatex, which does not support EPS-files. Either switch to
LaTeX (or learn what exactly it is that your editor does) or convert the EPS to
PDF using epstopdf and include that instead
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
Thank you!
ANNlearner
http://research.silmaril.ie/latex/chapter6.html#images
///Peter
Thanks a lot of your link, it is very helpful. It seems that what I am
using is pdflatex since it given out the following error message when
I delete the filetype .eps from the /includegraphics command.
How can I get a standard LaTex?
Thank you,
ANNlearner
=============================================================================================
! LaTeX Error: File `pc1' not found.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.4 \includegraphics[scale=1]{pc1}
I could not locate the file with any of these extensions:
.png,.pdf,.jpg,.mps,.jpeg,.PNG,.PDF,.JPG,.JPEG
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
===============================================================================================
> On Jun 22, 6:02 pm, Peter Flynn <peter.n...@m.silmaril.ie> wrote:
>
>
>
> > ANNlearner wrote:
> > > Is there any other disadvantage in pdflatex comparing with pure latex
> > > in addition to can not include eps figure?
>
> >http://research.silmaril.ie/latex/chapter6.html#images
>
> > ///Peter- Hide quoted text -
>
> - Show quoted text -
I'd recommend continuing to use pdflatex but converting your EPS files
into a format that pdflatex understands:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pdftexgraphics
-- Scott
Have a nice day!
ANNlearner