General ⇒ .eps ?
.eps ?
Preamble
\usepackage{amssymb,amsmath,amsfonts}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{eepic,epsfig}
\usepackage{cite}
Code
\begin{figure}[tbph]
\begin{center}
\epsfig{figure=fig1.eps,width=11.5cm,height=7.5cm}
\end{center}
\caption{Due to the non-trivial boundary conditions imposed on the
quantum vacuum, the plates are pulled toward each other due to a
force that is purely quantum in nature.} \label{fig1}
\end{figure}
Error
LateX Error: Unknown graphics extension: .eps.
Any suggestions?????
A thousand thank-you's in advance!
Richard
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
.eps ?
Regarding your preamble, you should not use three packages for images. Instead of having graphicx, graphics and epsfig, with graphicx alone you have all you need.
As for the error, I bet you are using PDFLaTeX, which only recognizes jpg, png or pdf file extensions. So, you might convert your eps file into pdf with epstopdf, or use LaTeX (not PDFLaTeX) to compile your document. Also, the command for including graphics with the graphicx package is \includegraphics. And as a further advice, it's better to use \centering than center inside the figure environment.
Hope this helps,
Keta
Re: .eps ?
I just figured how to deal with this in my own solution, although yours sounds like it would probably be more elegant.
My solution was to use an eps to pdf converter, then convert the pdf to jpg and use standard LateX code.
The address for that is: http://www.ps2pdf.com/
It worked fine in the end - but it took my half the night to figure it out as I was trying to find fancy solutions so I could keep the eps.
Rich