Skip to content

Commit

Permalink
test change ; lost two diffs for gh/385
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankMittelbach committed Jan 7, 2021
1 parent 476970d commit e4076ee
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions base/ltmiscen.dtx
Expand Up @@ -214,6 +214,7 @@
% \changes{v1.1i}{2000/05/19}
% {Reset \cs{AtEndDocument} for latex/3060}
% \begin{macrocode}
\@kernel@before@enddocument
\UseOneTimeHook{enddocument}%
\@kernel@after@enddocument
% \end{macrocode}
Expand Down Expand Up @@ -390,6 +391,35 @@
%<*2ekernel>
% \end{macrocode}
%
% \begin{macro}{\@kernel@before@enddocument}
% The \cs{@kernel@before@enddocument} hook is slightly different
% because we initialize it with \cs{par} so that \cs{enddocument} always
% returns to vertical mode as its first action.
% \changes{v1.1x}{2020/10/26}{\cs{enddocument} should always start out in
% vmode (gh/385)}
% \begin{macrocode}
%</2ekernel>
%<*2ekernel|latexrelease>
%<latexrelease>\IncludeInRelease{2021/05/01}%
%<latexrelease> {\@kernel@before@enddocument}{kernel before hook}%
\def\@kernel@before@enddocument{\par}
%</2ekernel|latexrelease>
%<latexrelease>\EndIncludeInRelease
% \end{macrocode}
%
% The rollback code renders it harmless.
% \begin{macrocode}
%<latexrelease>\IncludeInRelease{0000/00/00}%
%<latexrelease> {\@kernel@before@enddocument}{kernel before hook}%
%<latexrelease>
%<latexrelease>\let\@kernel@before@enddocument\@empty
%<latexrelease>
%<latexrelease>\EndIncludeInRelease
%<*2ekernel>
% \end{macrocode}
% \end{macro}
%
%
%
%
% \begin{macro}{\@testdef}
Expand Down
2 changes: 2 additions & 0 deletions base/testfiles/github-0424.tlg
Expand Up @@ -3,6 +3,8 @@ Don't change this file in any respect.
-> The hook 'begindocument/end':
> Code chunks:
> kernel -> \nocite {A,B}\nocite {C}
> Document-level (top-level) code (executed last):
> ---
> Extra code for next invocation:
> ---
> Rules:
Expand Down

0 comments on commit e4076ee

Please sign in to comment.