From 1ef08da210c95a3d80379c4f024fcfa0090e1b2e Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Wed, 18 Jan 2023 16:17:29 +0100 Subject: [PATCH] Avoid conflicts with hyperref includes by other packages Pass the `unicode` option through `PassOptionsToPackage` instead of directly specifying it to `RequirePackage`. --- moderncv.cls | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moderncv.cls b/moderncv.cls index a150a04..8c145b2 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -103,7 +103,8 @@ \urlstyle{tt} \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 - \RequirePackage[unicode]{hyperref}% unicode is required for unicode pdf metadata + \PassOptionsToPackage{unicode}{hyperref} + \RequirePackage{hyperref} \hypersetup{ breaklinks, pdfborder = 0 0 0,