hyperref warning messages when compiling template.tex
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
moderncv |
Fix Released
|
Low
|
Xavier Danaux |
Bug Description
I have just installed the most recent version of moderncv, version 1.1.2 (9 Aug 2012).
When I compile the included template.tex, I get a couple of warning messages, mostly related to the hyperref package:
/usr/share/
./template.tex:51: Option `pdfpagelabels' has already been used,(hyperref) setting the option has no effect on input line 51. Option `pdfpagelabels' has already been used,(hyperref) setting the option has no effect
./template.tex:0: \footskip is too small (30.0pt):Make it at least 39.19379pt.
./template.tex:0: \footskip is too small (30.0pt):Make it at least 39.19379pt.
./template.tex:0: \footskip is too small (30.0pt):Make it at least 39.19379pt.
I am running texlive on Ubuntu Linux 11.10. It would be very nice if this could be fixed. I have no clue if the problem affects the layout.
Edit: It seems you have to delete line 134 from moderncv.cls:
pdfpagelabels = false,% to avoid a warning setting it automatically to false anyway, because hyperref detects \thepage as undefined (why?)
Then replace line 128:
\RequirePackage
with the following line:
\RequirePackage
This fixed the hyperref issues for me. Would you like to commit this change in your repository? It would be nice to have it updated in the next version.
Now I still see the \footskip warnings though. Any idea how that can be solved? Thanks!
Related branches
summary: |
- hyperref warning messages when compiling example.tex + hyperref warning messages when compiling template.tex |
description: | updated |
Changed in moderncv: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → Xavier Danaux (xdanaux) |
Changed in moderncv: | |
status: | Fix Committed → Fix Released |
Hi Philip,
Thanks for the fix for the hyperref warning! I already removed a couple other warnings some time ago, but was still stuck with this one indeed. I'll commit it asap.
As for the footskip warning, I'll investigate, but I am afraid it might be complicated, as one can't know the content of the footer before the end of the preamble. I guess you could try to pre-render the footer and adapt the geometry of the page as of the end of the preamble, but I haven't looked at it yet.