Graphics, Figures & Tables"file not found" eps and pdf

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
rockybalboa
Posts: 15
Joined: Wed Mar 04, 2009 12:33 am

"file not found" eps and pdf

Post by rockybalboa »

Hi there, I'm new to Latex. I've been trying for a while to include eps files and create a pdf file but it doesn't work. It works if I export it to dvips, but not pdf. The error message that I get is "file not found" . The code is below:
Any help greatly appreciated

Javier

Code: Select all

\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{xcolor}

\begin{document}

\begin{figure}[htb!]
\centering%
   \includegraphics[width=5.25in]{Images/filename}
\caption{An Example Figure}
\label{fig:FigureExample}
\end{figure}

\end{document}

Recommended reading 2024:

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

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

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

"file not found" eps and pdf

Post by localghost »

Convert your EPS files to PDF. Another topic will show you how to do that [1]. In case of further questions, feel free to ask. You only need to load the graphicx package to include external files.

[1] View topic: How do I: Compile to PDF when I have .eps and .png images


Best regards
Thorsten¹
Post Reply