diff --git a/ruthesis.sty b/ruthesis.sty index 7b3d98e..db8844f 100644 --- a/ruthesis.sty +++ b/ruthesis.sty @@ -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}