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 %%%%%%%%%%%%%%%%%%%%%%
|
||||
\AddToHook{beforedocument/before}{%
|
||||
\AddToHook{begindocument/before}{%
|
||||
%% package hyperref needs to be last, so we use a hook
|
||||
\PassOptionsToPackage{hidelinks}{hyperref}%disable boxes around links
|
||||
\RequirePackage{hyperref}
|
||||
|
||||
Reference in New Issue
Block a user