I am using hyperref package for referencing but when i do references it gives me the chapter number instead of the label name and don't know why it is doing this as I am new to lateX. I searched a lots of example but nothing is working.
Here is my code
\begin{figure}
\includegraphics[width = 150mm]{flowChart.jpg}
\label{Figure:1}
\end{figure}
And for referencing
~\ref{Figure:1}
after this in PDF I am getting chapter number as 2.
\caption(before\labelinside thefigureenvironment) in order to have something to reference properly. How else should people know where to go and have a look at\ref{Figure:1}? – Werner Mar 04 '13 at 06:47figureenvironment, by itself, generates no number: you might have more than one figure together with its caption in it, for instance, that you want to keep together. So it's\captionthat generates the number. – egreg Mar 04 '13 at 09:24\captionbefore the\label. – Joseph Wright Aug 09 '13 at 19:43