Graphics, Figures & TablesInclusion of EPS File fails

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
latex_newbie
Posts: 7
Joined: Tue Jul 03, 2012 3:09 pm

Inclusion of EPS File fails

Post by latex_newbie »

Hi,

I'm using MiKTeX 2.9 and my editor is WinShell 3.3.2.4. I'm completely new to LaTeX and one of the main purposes for my using LaTeX is to be able to make nice exams and quizzes for my students.

I'm trying to run PDFLaTeX on the file "example.tex" from this website: http://www.rfbooth.com/tech/exam/

I have downloaded all of the files available from there to the same folder.

Unfortunately, during the compilation a strange error occurs saying:
example.tex(19): Error: LaTeX Error: File `bwcrest' not found.
Why is that if I'm sure that that the "bwcrest.eps" file is in the same folder as the rest of the files?

Thank you in advance for any help.


PS: Excuse me for my bad English, I'm not a native speaker. ;)

Recommended reading 2024:

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

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

Boersma
Posts: 21
Joined: Mon Nov 22, 2010 9:29 pm

Inclusion of EPS File fails

Post by Boersma »

Well, I assume that you want to add an EPS image. You have to convert that picture to PDF. You can let LaTeX do this by adding the epstopdf package to the document preamble. So a MWE will be like this.

Code: Select all

\documentclass{article}
\usepackage{graphicx}
\usepackage{epstopdf}

\begin{document}
  \begin{figure}[!htb]
    \includegraphics{foo.eps}
  \end{figure}
\end{document}

Regards,
Boersma
latex_newbie
Posts: 7
Joined: Tue Jul 03, 2012 3:09 pm

Re: Inclusion of EPS File fails

Post by latex_newbie »

Yes, it seems to work just fine now. Thank you very much for this helpful piece of advice!

Regards,
Martin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Inclusion of EPS File fails

Post by localghost »

Not least because this custom class uses the obsolete fancyheadings package, the exam class seems more sophisticated and therefore preferable.


Thorsten
Post Reply