don't write anything to aux file when not in cache mode
This commit is contained in:
parent
a3211f8a8f
commit
11d13efe62
1 changed files with 22 additions and 16 deletions
|
@ -2581,18 +2581,21 @@
|
||||||
\@@_sort_group_names:
|
\@@_sort_group_names:
|
||||||
\end { __#1__groups_ \clist_use:Nn \l_@@_group_clist { _ } }
|
\end { __#1__groups_ \clist_use:Nn \l_@@_group_clist { _ } }
|
||||||
}
|
}
|
||||||
\hook_gput_code:nnn { enddocument / afterlastpage } { groupthm }
|
\bool_if:NT \g_@@_cache_bool
|
||||||
{
|
{
|
||||||
\iow_now:cn { @auxout }
|
\hook_gput_code:nnn { enddocument / afterlastpage } { groupthm }
|
||||||
{
|
{
|
||||||
\ExplSyntaxOn
|
\iow_now:cn { @auxout }
|
||||||
\hook_gput_code:nnn { @@ / auxfile define cached } { groupthm }
|
{
|
||||||
{
|
\ExplSyntaxOn
|
||||||
\@@_define_family_options:nnnn { #1 } { #2 } { #3 } { #4 }
|
\hook_gput_code:nnn { @@ / auxfile define cached } { groupthm }
|
||||||
}
|
{
|
||||||
\ExplSyntaxOff
|
\@@_define_family_options:nnnn { #1 } { #2 } { #3 } { #4 }
|
||||||
|
}
|
||||||
|
\ExplSyntaxOff
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
% \end{macro}
|
% \end{macro}
|
||||||
|
@ -2761,14 +2764,17 @@
|
||||||
% query this value in the next run as soon as possible.
|
% query this value in the next run as soon as possible.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\hook_gput_code:nnn { enddocument / afterlastpage } { before-groupthm }
|
\bool_if:NT \g_@@_cache_bool
|
||||||
{
|
{
|
||||||
\iow_now:cx { @auxout }
|
\hook_gput_code:nnn { enddocument / afterlastpage } { before-groupthm }
|
||||||
{
|
{
|
||||||
\token_to_str:N \ExplSyntaxOn
|
\iow_now:cx { @auxout }
|
||||||
\int_gset:Nn \g_@@_cache_version_aux_int
|
{
|
||||||
{ \int_use:N \g_@@_cache_version_document_int }
|
\token_to_str:N \ExplSyntaxOn
|
||||||
\token_to_str:N \ExplSyntaxOff
|
\int_gset:Nn \g_@@_cache_version_aux_int
|
||||||
|
{ \int_use:N \g_@@_cache_version_document_int }
|
||||||
|
\token_to_str:N \ExplSyntaxOff
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
\hook_gset_rule:nnnn { enddocument / afterlastpage } { before-groupthm } { before } { groupthm }
|
\hook_gset_rule:nnnn { enddocument / afterlastpage } { before-groupthm } { before } { groupthm }
|
||||||
|
|
Loading…
Reference in a new issue