I have no idea what is going on here. I've reduced it to a minimal example:
Code: Select all
\pdfoptionpdfminorversion=5
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage[demo]{graphicx}
\usepackage{float}
\usepackage{hyperref}
\begin{document}
\section{Intro}
Intro section to show whatever...
\section{Whatever}\label{definitelyNOTouch}
The following should read Figure 1: Figure~\ref{ouch}
But it reads Figure 2!! What is going on???
\begin{figure}[H] \label{ouch}
\begin{center}
\includegraphics{anypic.pdf}
\caption{Some nice caption}
\end{center}
\end{figure}
\end{document}
I've tried cleaning the help files and recompiling thousands of times, so that's not it. I've also tried this in a different computer with a different OS.
Thanks!