\documentclass{article}
\usepackage{graphicx,amsmath,tikz}
\begin{document}
\begin{figure}
\includegraphics{1.2.jpg}
\caption{d}
\end{figure}
\end{document}
By using the above code I am getting the following error..
Unknown graphics extension: .2.jpg. \includegraphics{1.2.jpg}
How to fix that??
.jpg:\includegraphics{1.2}– Romain Picot Oct 26 '15 at 10:30.2as the extension – David Carlisle Oct 26 '15 at 10:30:-P(ok I tried to give a bad explanation to my comment;-)) – Romain Picot Oct 26 '15 at 10:34