mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Avoid conflicts with hyperref includes by other packages
Pass the `unicode` option through `PassOptionsToPackage` instead of directly specifying it to `RequirePackage`.
This commit is contained in:
parent
d8bc48733c
commit
1ef08da210
1 changed files with 2 additions and 1 deletions
|
|
@ -103,7 +103,8 @@
|
||||||
\urlstyle{tt}
|
\urlstyle{tt}
|
||||||
\AtEndPreamble{
|
\AtEndPreamble{
|
||||||
\pagenumbering{arabic}% has to be issued before loading hyperref, as to set \thepage and hence to avoid hyperref issuing a warning and setting pdfpagelabels=false
|
\pagenumbering{arabic}% has to be issued before loading hyperref, as to set \thepage and hence to avoid hyperref issuing a warning and setting pdfpagelabels=false
|
||||||
\RequirePackage[unicode]{hyperref}% unicode is required for unicode pdf metadata
|
\PassOptionsToPackage{unicode}{hyperref}
|
||||||
|
\RequirePackage{hyperref}
|
||||||
\hypersetup{
|
\hypersetup{
|
||||||
breaklinks,
|
breaklinks,
|
||||||
pdfborder = 0 0 0,
|
pdfborder = 0 0 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue