write cache version of aux file into aux file

This commit is contained in:
Maximilian Keßler 2022-01-31 19:59:52 +01:00
parent f878e66cdf
commit adc9c32514

View file

@ -2709,6 +2709,13 @@
\hook_gput_code:nnn { enddocument / afterlastpage } { groupthm } \hook_gput_code:nnn { enddocument / afterlastpage } { groupthm }
{ {
\let \declaretheorem \@@_fake_declare_theorem:w \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} % \end{macrocode}
% %