Corrected a longstanding issue causing hyperref to issue two warnings regarding its "pdfpagelabels" option

This commit is contained in:
Xavier Danaux
2012-08-10 20:39:48 -04:00
parent a578055e30
commit 927ec319f6
11 changed files with 6 additions and 2 deletions

View File

@ -125,13 +125,12 @@
\RequirePackage{url}
\urlstyle{tt}
\AtEndPreamble{
\RequirePackage[unicode]{hyperref}
\RequirePackage[unicode,pdfpagelabels=false]{hyperref}% unicode is required for unicode pdf metadata, pdfpagelabels=false is required to avoid a warning setting it automatically to false anyway, because hyperref detects \thepage as undefined (why?)
\hypersetup{
breaklinks,
baseurl = http://,
pdfborder = 0 0 0,
pdfpagemode = UseNone,% do not show thumbnails or bookmarks on opening
pdfpagelabels = false,% to avoid a warning setting it automatically to false anyway, because hyperref detects \thepage as undefined (why?)
pdfstartpage = 1,
pdfcreator = {\LaTeX{} with 'moderncv' package},
% pdfproducer = {\LaTeX{}},% will/should be set automatically to the correct TeX engine used