Change to output routine code breaks latex afterpage package

David Carlisle d.p.carlisle at gmail.com
Tue Mar 26 10:32:27 CET 2024


Thanks all,

My normal mirror hasn't picked it up yet but I grabbed a pdftex binary from
the svn and the original latex example
and some smaller plain tex tests all work again.

David


On Sun, 24 Mar 2024 at 19:47, David Carlisle <d.p.carlisle at gmail.com> wrote:

>
> It appears that the change
>
>
>
> https://github.com/TeX-Live/texlive-source/commit/d17e5e0968269f781f3fe972b705fff43ea2e139
>
> avoid crashing on devious uses of \output and write braces, from DRF …
>
> breaks the afterpage package that has been part of the core latex2e
> release since the start.
>
> see
>
> https://github.com/latex3/latex2e/issues/1311
>
> Can this be reverted/adjusted so the package still works?
>
> \documentclass{report}
> \usepackage{afterpage}
> \begin{document}
> Page \thepage
> \afterpage{Hi!}
> \newpage
> Page \thepage
> \newpage
> Page \thepage
> \end{document}
>
> produces 3 pages  with Hi on page 2 in all previous releases, but produces
> 4 pages with Hi on page 4 in tl2024
>
> David
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20240326/c088b945/attachment.htm>


More information about the tex-live mailing list.