From 71f4def04dfcbd84a370336e29d6033efb535da2 Mon Sep 17 00:00:00 2001 From: Joseph Timothy Foley Date: Fri, 17 Oct 2025 17:28:31 +0000 Subject: [PATCH] The hook is begindocument/before --- ruthesis.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}