Possible Duplicate:
Keeping tables/figures close to where they are mentioned
I am including graphics into my latex documents as below:
\begin{figure}[abc]
\begin{center}
\includegraphics[width=\textwidth]{abc.eps}
\end{center}
\caption{Same caption}
\label{fig:abc}
\end{figure}
Only the first image is being displayed where I have inserted it. Rest all images are being displayed at the end of the section.
Note: I have designed some images in Dia diagram editor and converted them to PNG. Then I used convert abc.png eps3:abc.eps to convert them to EPS format.
figureenvironment is a float and is supposed to float through the text until some suitable place is found. See Keeping tables/figures close to where they are mentioned. Also[abc]is a invalid optional argument offigure. And don't use thecenterenvironment, but the\centeringmacro. – Martin Scharrer Aug 07 '11 at 18:03