<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 8 Apr 2024 at 22:21, Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</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">po 8. 4. 2024 v 23:01 odesílatel Hartmut Henkel via tex-live<br><br>
That was the descripton of the sectioning commands. Anythign inside<br>
\section{...} travels the same way. It would be the same for \index<br>
and many more. More can be found in any book on LaTeX.<br>
<br>
> Best Regards<br>
> Hartmut<br>
<br></blockquote><div>latex makes \label (normally), \index and some other commands safe to use in section header arguments, it's just that here the titlesec package re-arranges things and removes the normal</div><div>guard for \label. The issue is specific to titlesec not a general problem with using \label in the argument of \section.</div><div><br></div><div><br></div><div>David</div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Zdeněk Wagner<br>
<a href="https://www.zdenek-wagner.eu/" rel="noreferrer" target="_blank">https://www.zdenek-wagner.eu/</a><br>
</blockquote></div></div>