I tried with this MWE:
\documentclass{article}
\usepackage{caption,subcaption}
\usepackage{cleveref}
\usepackage{hyperref}
\begin{document}
See \cref{subfig1}, \ref{subfig1}
\begin{figure}
\subcaptionbox{Subfigure\label{subfig1}}
{A FIGURE}
\caption{Figure}
\label{fig1}
\end{figure}
\end{document}
Without hyperref
, all is nice, with hyperref
I get ?? for the \cref
instance. I tried installing the latest versions of all three packages, nothing changed apparently.
cleveref
afterhyperref
, right? – Joseph Wright♦ Feb 28 '14 at 15:18hyperref
had to be loaded last. – Jellby Feb 28 '14 at 15:30