it looks like when the following code is written in a chapter, the reference sticks to 1.1.
Code: Select all
\begin{figure}[h]
\label{fig:figure}
\centering\includegraphics[scale=0.5]{afigure}
\end{figure}
\begin{figure}[h]
\label{fig:figure2}
\centering\includegraphics[scale=0.5]{anotherfigure}
\end{figure}
As you can see in figure \ref{fig:figure} and figure \ref{fig:figure2}.
This is not the case with footnotes for example. Referencing footnotes always succeeds.picture
picture
As you can see in figure 1.1 and figure 1.1.