From adc9c32514c94065e179ddd9c5480ab72b390b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Mon, 31 Jan 2022 19:59:52 +0100 Subject: [PATCH] write cache version of aux file into aux file --- src/environments/groupthm/groupthm.dtx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/environments/groupthm/groupthm.dtx b/src/environments/groupthm/groupthm.dtx index 783875b..14b8f09 100644 --- a/src/environments/groupthm/groupthm.dtx +++ b/src/environments/groupthm/groupthm.dtx @@ -2709,6 +2709,13 @@ \hook_gput_code:nnn { enddocument / afterlastpage } { groupthm } { \let \declaretheorem \@@_fake_declare_theorem:w + \iow_now:cx { @auxout } + { + \token_to_str:N \ExplSyntaxOn + \int_set:Nn \g_@@_cache_version_aux_int + { \int_use:N \g_@@_cache_version_document_int } + \token_to_str:N \ExplSyntaxOff + } } % \end{macrocode} %