References -- TeX capacity exceeded

Eckhard Höffner eckhard.hoffner at gmail.com
Tue Sep 5 15:44:22 UTC 2023


Thanks.

It appears that you cannot use anymore \label within \sections, but also 
within \caption{} oft figures or tables.

While \section{heading \label{label} } causes an immediate error, 
\caption produces:  Argument of \caption@@@withoptargs has an extra }



Am 05.09.23 um 15:55 schrieb Herbert Voss:
>
>
> Am 05.09.23 um 14:18 schrieb Eckhard Höffner:
>>
>> In my opinion, it's the references, because if I delete all 
>> references, the error doesn't appear. The log file is over 100 kb so 
>> I won't send it here. But there is no error message in there, except 
>> for the one about the TeX capacity.
>>
>> \label #1->\@bsphack
>>                       \begingroup \UseHookWithArguments 
>> {label}{1}{#1}\protect...
>> l.14 \subsection{Welfare\label{subsec:chapter1}}
>>
>
> Try it this way (LAbel outside the section command):
>
> \subsection{Welfare} \label{subsec:chapter1}
>
> There was a bug some time ago, which was fixed in the meantime.
>
>
> Herbert

-- 
Eckhard Höffner
Volkarstr. 64
D-80636 München
Tel.: 089 210 31 888
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230905/8d80239d/attachment.html>


More information about the lyx-users mailing list