Whenever I compile a CV with moderncv, I get four warnings by hyperref. There don't seem to be any serious problems connected to them, yet they bug me. I like my documents to compile without warnings. How can I avoid these warnings? (Preferably without patching moderncv.cls itself, I'd rather add a few lines in each of my CVs.)
MWE:
\documentclass{moderncv}
\firstname{John}
\familyname{Doe}
\begin{document}
\maketitle
\cvline{always}{King of the World}
\end{document}
The warnings:
Package hyperref Warning: Option `pdfpagelabels' is turned off (hyperref) because \thepage is undefined. Package hyperref Warning: Option `baseurl' has already been used, (hyperref) setting the option has no effect on input line 6. Package hyperref Warning: Option `pdfpagemode' has already been used, (hyperref) setting the option has no effect on input line 6. Package hyperref Warning: Option `pdfstartpage' has already been used, (hyperref) setting the option has no effect on input line 6.
UPDATE:
Version 0.19 (2012/02/06) of moderncv only produces these warnings, the latter of which appears to be new:
Package hyperref Warning: Option `pdfpagelabels' is turned off (hyperref) because \thepage is undefined. Package hyperref Warning: Option `pdfpagelabels' has already been used, (hyperref) setting the option has no effect on input line 6.
moderncvthan fix all its bugs.;)– doncherry Nov 15 '11 at 12:52