The hook is begindocument/before

This commit is contained in:
2025-10-17 17:28:31 +00:00
parent d69d755519
commit 71f4def04d

View File

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