This question led to a new package:
autonum
I know that cleveref is not compatible with showonlyrefs as it says in the cleveref manual. But I have a book-length document that depends on showonlyrefs and I would like to start using cref without having to go back and add a \notag to each of the equations that I do not want to assign a number to.
Is there a known hack or an easy way to use cref? I have recently begun to appreciate the power of cleveref and would like to use it without going back and changing each and every one of my equations.
autonumpackage, but can't see to get it to work. Here is a minimal example which compiles with "undefined references":\documentclass{article}
\usepackage{amsmath, cleveref}
\usepackage{autonum}
\begin{document}
\begin{align}\label{eq:eq1}
a = b+c
\end{align}
Refer to equation \cref{eq:eq1}.
\end{document}
– tchakravarty Jul 08 '12 at 11:41eq:eq1intoeqFirst, everything should work. – Patrick Häcker Jul 16 '12 at 20:54