2

I am using the theme here: http://cameron.bracken.bz/beamer-template

When I include a figure as:

\begin{frame}{frame 2}
\includegraphics[scale=.2]{beta_1.eps}
\end{frame}

and run pdfLatex, I get the following error:

! Latex Error: unknown graphics extension .eps

What is going on and how do I fix this? I am using WinEdt as the front end and I am on a windows machine. The picture is in the same folder as the source file and there are no typos etc. Compiles as "Latex" and "Texify", but I don't see the bubbles on the heading bar.

  • 4
    pdflatex can not by default include eps files (nothing to do with beamer) It is best not to put the extension in the includegraphics call then latex just looks for the versions it can use, eg convert the eps to pdf and pdflatex can include it – David Carlisle Oct 31 '12 at 22:27
  • 1
    With pdflatex you can't use eps directly. Change the graphics format to pdf, png or jpg. – Mensch Oct 31 '12 at 22:27
  • I have about 70-80 figures man...what else can I do? I just want the heading bar to be preserved. Doing a dvi->pdf does not preserve it. – Antillar Maximus Oct 31 '12 at 22:28
  • 2
    There are packages that will call but it shouldn't really matter how many files there are you should be able to do something like for %f in (*.eps) do \imagemagic\convert %f %f.pdf – David Carlisle Oct 31 '12 at 22:43
  • With an up-to-date TeX system, EPS graphics will automatically be converted to PDF format: all you need to do is not include the extension. – Joseph Wright Nov 01 '12 at 13:10
  • Joseph, tried your suggestion, it does not work. Before I start I usually manually update MikTex. Thanks to everybody else who replied. Looks like I have no choice but to mass convert all my eps figures to pdf. – Antillar Maximus Nov 01 '12 at 15:14

1 Answers1

2

I would try to convert all eps files into pdf files using a batch programm such like eps2pdf (CTAN link).

Then you can use pdflatex.