References -- TeX capacity exceeded

Herbert Voss Herbert.Voss at fu-berlin.de
Tue Sep 5 15:46:52 UTC 2023



Am 05.09.23 um 17:44 schrieb Eckhard Höffner:
>
> 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 }
>

As I already wrote, This bug was fixed ...
Update your LaTeX system.

Herbert



>
>
> 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
>



More information about the lyx-users mailing list