ensure correct hook order

This commit is contained in:
Maximilian Keßler 2022-01-31 20:36:29 +01:00
parent fc67ef99ef
commit bea7380166

View file

@ -2691,7 +2691,7 @@
%
%
% \begin{macrocode}
\hook_gput_code:nnn { enddocument / afterlastpage } { groupthm }
\hook_gput_code:nnn { enddocument / afterlastpage } { before-groupthm }
{
\cs_set_eq:NN \@@_thmtools_declare_theorem:nn \use_none:nn
\iow_now:cx { @auxout }
@ -2720,6 +2720,7 @@
\token_to_str:N \ExplSyntaxOff
}
}
\hook_gset_rule:nnnn { enddocument / afterlastpage } { before-groupthm } { before } { groupthm }
% \end{macrocode}
%
%