I am creating a pdf file with MiKTeX editor. I am including a figure as follows:
\begin{figure}
\centering
\includegraphics[width=0.9\textwidth]{MonitoringConcept.JPEG}
\caption{Monitoring concept for energy and comfort}
\label{MonitoringConcept}
\end{figure}
In the header, I have added these packages:
\usepackage{lineno,hyperref,subfig,graphicx}
However, in the compilation time I get an Error. The message is the next one:
! LaTeX Error: Cannot determine size of graphic in MonitoringConcept.JPEG (no BoundingBox).
Do you know what the problem could be? Thank you very much in advance!
latexinstead ofpdflatex. The former is not able to load JPEG files, only EPS. – egreg Jun 02 '14 at 08:38