GeneralFile not found-why not?? it's there!

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
stevebrown
Posts: 7
Joined: Sat Jun 25, 2011 12:06 pm

File not found-why not?? it's there!

Post by stevebrown »

Hello all,

I'm a newbie so please forgive me...

I want to include a graphic and have used this;

Code: Select all

\begin{figure}[htbp]
\includegraphics{steve}	
	\caption{x}
	\label{y}
\end{figure}
The file steve.png is saved in the same file as the main tex file, yet the error message reads that is cannot find the file.

Any ideas?? Many thanks, Steve
Last edited by Stefan Kottwitz on Sat Jun 25, 2011 12:33 pm, edited 1 time in total.

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

File not found-why not?? it's there!

Post by Stefan Kottwitz »

Hi Steve,

for PNG support use pdfLaTeX, which means directly compiling to PDF without going the way over DVI and PS.

Btw. the forum provides a code environment, you can click a Code button above the text field when writing or editing. I just did that for you.

Stefan
LaTeX.org admin
Post Reply