i have problem including graphics in a document...i have the following structure
document.tex
tex/chap1.tex
tex/chap2.tex
img/image1.png
img/image2.png
I have traying almost anything to specify the path in the includegraphis sentence but it always pdflatex complains and not find the image. Maybe is in conflict with some other package that I put to the style file, but its really weird. I use the following to include a graphic:
\begin{figure}[H]
\centering
\includegraphics[width=8cm]{img/image1}
\caption{Arquitectura Visual Studio}
\label{IMG_VSBasicArchitecture}
\end{figure}
in the preamble i add the following:
\usepackage{graphicx}
\usepackage{float}
I compile from the document.tex directory. this file has the \input{tex/chapX.tex} sentences