[Tugindia] Problem with inserting figures
Rijo John
rijo at igidr.ac.in
Wed Mar 2 21:39:27 CET 2005
(small correction from the previous mail)
Hi all,
When I insert figure in my latex file it is not accepting.
it gives me the error:
! Extra }, or forgotten \endgroup.
------
Heres what I do:
\begin{figure}
\includegraphics{pic.png}
\caption{some title}
\label{fig:1}
\end{figure}
I also tried with various extensions .bmp .jpg .pdf etc.
every time the same problem. In the preamble I gave the command
\DeclareGraphicsExtensions{.eps,.pdf,.ps,.png,.jpg,.bmp}
and I am using the package "graphicx"
Without the "figure" command the file runs properly.
I run PDFLaTeX. Any help would be highly appreciated.
Thanks,
Rijo.
More information about the tugindia
mailing list