[texhax] Inserting Graphics in LaTex Documents

Philip G. Ratcliffe philip.ratcliffe at fastwebnet.it
Sun Feb 22 18:18:44 CET 2009

> The problem is that I always get the "File not found" Latex 
> Error message.
> Here is my input file:
> \documentclass{article}
> \usepackage{graphicx}
> \begin{document}
> \begin{figure}[tbh]
> \begin{center}
> \includegraphics[width=.8\textwidth]{My Plot} 
> \graphicspath{c:\Documents and Settings\Jean-Guy\My 
> Documents\LaTex\EPS Files} \end{center} \caption{Plot of the 
> function $\sin x$} \label{sineplot}
> I am using LaTex-DVI. My graph is an EPS file generated with Maple 11.
> My output file shows the following:
> Plot.eps  Plot.ps  Plot.eps.gz  Plot.ps.gz Plot.eps.Z
> Figure 1: Plot of the function sin x
> Can anyone tell me what I am doing wrong. I have reseach 
> various documents obtained  from searches on Internet , but 
> so far I have been unable to find out why I am getting the 
> LaTex Error: File 'My Plot' not found.

The directory slashes in the \graphicspath statement need to be *foward*
slashes (/).

Cheers,  Phil

More information about the texhax mailing list