The hook is begindocument/before
This commit is contained in:
@@ -336,7 +336,7 @@ in this publication does not imply, even in the absence of a specific statement
|
|||||||
|
|
||||||
|
|
||||||
%%%%%%%%%% Metadata for pdf file %%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%% Metadata for pdf file %%%%%%%%%%%%%%%%%%%%%%
|
||||||
\AddToHook{beforedocument/before}{%
|
\AddToHook{begindocument/before}{%
|
||||||
%% package hyperref needs to be last, so we use a hook
|
%% package hyperref needs to be last, so we use a hook
|
||||||
\PassOptionsToPackage{hidelinks}{hyperref}%disable boxes around links
|
\PassOptionsToPackage{hidelinks}{hyperref}%disable boxes around links
|
||||||
\RequirePackage{hyperref}
|
\RequirePackage{hyperref}
|
||||||
|
|||||||
Reference in New Issue
Block a user