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:
Thom Wiggers 2023-01-18 16:17:29 +01:00 committed by GitHub
commit 2cb8b2f01e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,