Skip to content

Commit

Permalink
Clear Memoize's begindocument hooks after executing them.
Browse files Browse the repository at this point in the history
  • Loading branch information
sasozivanovic committed Mar 15, 2024
1 parent c756372 commit 9916f3d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions memoize.edtx
Original file line number Diff line number Diff line change
Expand Up @@ -3834,6 +3834,14 @@
end document/.style={enddocument/afterlastpage},
}
%</plain,context>
% We clear the hooks after executing the last of them.
\mmzset{
begindocument/end/.append style={
begindocument/before/.code={},
begindocument/.code={},
begindocument/end/.code={},
}
}
% \end{key}
%
% Formats other than \hologo{plainTeX} need a way to prevent extraction during
Expand Down

0 comments on commit 9916f3d

Please sign in to comment.