Closed mrpiggi closed 4 years ago
@josephwright can you please alter the definition for \AtEndPreamble
? I coded the wrong hook in the draft:
begindocument/before This hook executed at the very start of \document, one can think of it as a hook for code at the end of the preamble section and this is how it it is used by etoolbox’s \AtEndPreamble.
Fixed by 29abc29ef202966abe777f2dc8dd023de90cb375.
Something like
does work with the current latex kernel but not with the new hook management in the dev release. See https://github.com/latex3/latex2e/issues/360