Re: References -- TeX capacity exceeded

2023-09-05 Thread Herbert Voss



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



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: References -- TeX capacity exceeded

2023-09-05 Thread 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 }




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
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: References -- TeX capacity exceeded

2023-09-05 Thread Jürgen Spitzmüller
Am Dienstag, dem 05.09.2023 um 15:55 +0200 schrieb Herbert Voss:
> 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.

Note that LyX 2.4 will provide you a feature to automatically mover
labels outside of such arguments.

In LyX 2.3, you will have to position the label in the paragraph below
the subsection.

-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: References -- TeX capacity exceeded

2023-09-05 Thread 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
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users