titlesec problem

David Carlisle d.p.carlisle at gmail.com
Mon Apr 8 22:51:16 CEST 2024


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

The same error seems to be in texlive 2023 as well (it worked in 2022)

titlesec issues can be reported at

https://github.com/jbezos/titlesec

David


On Mon, 8 Apr 2024 at 21:15, Hartmut Henkel via tex-live <tex-live at tug.org>
wrote:

> Hi,
>
> here is some weird error when using the titlesec package (TL 2024 SVN
> from yesterday):
>
> ! TeX capacity exceeded, sorry [input stack size=10000].
> \hook_use:nnw #1#2->\cs:w \if_cs_exist:w __hook #1
>                                                   \cs_end: __hook #1\else:
> u...
>
> Here a demo file for the problem; run e. g., with pdflatex:
>
> \documentclass{article}
> \usepackage{titlesec}
> \begin{document}
>
> % does not work in TL2024, but worked "earlier":
> \section{\label{sec:foo}Hello}
>
> % works:
> %\section{Hello}\label{sec:foo}
>
> \end{document}
>
> Colleagues using an older TL (2022?) did not have any problem, when the
> label macro is used within the section argument. Without titlesec the
> label is allowed there, traditionally. But new titlesec requires to have
> the label after the sectioning macro.
>
> Best Regards
> Hartmut
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20240408/957bd190/attachment.htm>


More information about the tex-live mailing list.