I have a LaTeX document with a figure and references to it:
\\begin{figure} ... \\caption{...} \\label{fig:1} \\end{figure} \\ref{fig:1}
I use
\usepackage{hyperref} \usepackage{caption}
Using this is a better idea than \usepackage[all]{hypcap}.