<div dir="ltr"><div>the texlive list isn't a good place for reporting package bugs as mostly they can't be fixed in texlive, which distributes the files as provided on ctan</div><div><br></div><div>The same error seems to be in texlive 2023 as well (it worked in 2022)</div><div><br></div><div>titlesec issues can be reported at</div><div><br></div><div><a href="https://github.com/jbezos/titlesec">https://github.com/jbezos/titlesec</a></div><div><br></div><div>David</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 8 Apr 2024 at 21:15, Hartmut Henkel via tex-live <<a href="mailto:tex-live@tug.org">tex-live@tug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
here is some weird error when using the titlesec package (TL 2024 SVN<br>
from yesterday):<br>
<br>
! TeX capacity exceeded, sorry [input stack size=10000].<br>
\hook_use:nnw #1#2->\cs:w \if_cs_exist:w __hook #1<br>
\cs_end: __hook #1\else: u...<br>
<br>
Here a demo file for the problem; run e. g., with pdflatex:<br>
<br>
\documentclass{article}<br>
\usepackage{titlesec}<br>
\begin{document}<br>
<br>
% does not work in TL2024, but worked "earlier":<br>
\section{\label{sec:foo}Hello}<br>
<br>
% works:<br>
%\section{Hello}\label{sec:foo}<br>
<br>
\end{document}<br>
<br>
Colleagues using an older TL (2022?) did not have any problem, when the<br>
label macro is used within the section argument. Without titlesec the<br>
label is allowed there, traditionally. But new titlesec requires to have<br>
the label after the sectioning macro.<br>
<br>
Best Regards<br>
Hartmut<br>
</blockquote></div>