I'm having trouble inserting a picture into my LaTex document (using Texmaker). Does anyone know why this may be? This is the code I am using:
\documentclass[11pt]{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\includegraphics[scale=1]{fig.1}
\end{figure}
\end{document}
It is giving me the error:
! LaTeX Error: Unknown graphics extension: .1.See the LaTeX manual or LaTeX Companion for explanation.Type H <return> for immediate help.... \includegraphics[scale=1]{fig.1}
! Output loop---100 consecutive dead cycles.\clearpage ...rite \m@ne {}\vbox {}\penalty -\@Mi \end{document}
File `fig.1' not found
grffile. – Johannes_B Oct 09 '16 at 09:35fig.1.pngbut graphicx isn't adding the.pngextension, or is teh actual filefig.1but graphicx doesn't know it is png or eps or whatever it is? – David Carlisle Oct 09 '16 at 09:42