<div dir="ltr"><div><br></div><div>It appears that the change</div><div><br></div><div><br></div><div><a href="https://github.com/TeX-Live/texlive-source/commit/d17e5e0968269f781f3fe972b705fff43ea2e139">https://github.com/TeX-Live/texlive-source/commit/d17e5e0968269f781f3fe972b705fff43ea2e139</a></div><div><br></div><div>
<div class="gmail-commit-title gmail-markdown-title">
avoid crashing on devious uses of \output and write braces, from DRF …
</div>
</div><div><br></div><div>breaks the afterpage package that has been part of the core latex2e release since the start.</div><div><br></div><div>see</div><div><br></div><div><a href="https://github.com/latex3/latex2e/issues/1311">https://github.com/latex3/latex2e/issues/1311</a></div><div><br></div><div>Can this be reverted/adjusted so the package still works?</div><div><br></div><div>\documentclass{report}<br>\usepackage{afterpage}<br>\begin{document}<br>Page \thepage <br>\afterpage{Hi!}<br>\newpage<br>Page \thepage <br>\newpage<br>Page \thepage <br>\end{document}</div><div><br></div><div>produces 3 pages with Hi on page 2 in all previous releases, but produces 4 pages with Hi on page 4 in tl2024</div><div><br></div><div>David</div><div><br></div><div><br></div><div><br></div></div>