to put it plainly: is there a way to debug the way a \begin{figure}...\end{figure}
block is processed? I got all my figures in my paper, their references are alright except for 2 of them (incidentally the last 2 in the document) even though they're declared in exactly the same way like any other picture in the paper. Reference to them don't go into the .aux file but I don't see errors that can help understand.
the following is the way pictures are included
% this picture number shows up correctly wherever referenced
\begin{figure}
\centering
\includegraphics[width=8cm]{denCont.eps}
\includegraphics[width=8cm]{denCont_irr.eps}
\caption{AFM image ...}
\label{fig:DEN}
\end{figure}
% these 2 are placed in the page as expected but references don't appear
\begin{figure}
\centering
\includegraphics[width=8cm]{RplotNONDEN.eps}
\caption{Boxplot of ...}
\label{fig:BoxND}
\end{figure}
\begin{figure}
\centering
\includegraphics[width=8cm]{RplotDEN_EN.eps}
\caption{Boxplot of ...}
\label{fig:BoxDEN}
\end{figure}
the only clue in the console output is in this trace of the \@writefile
command but doesn't hint at any explicit error
[7
\@writefile{lof}{\contentsline {figure}{\numberline {5}{\ignorespaces Boxplot of ...}}{7}{figure.5}}
\newlabel{fig:BoxND}{{5}{7}{Boxplot of ...}{figure.5}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {6}{\ignorespaces Boxplot of...}}{7}{figure.6}}
\newlabel{fig:BoxDEN}{{6}{7}{Boxplot of ...}{figure.6}{}}
]