tex2LyX error

Herbert Voss Herbert.Voss at fu-berlin.de
Fri Sep 29 18:03:03 UTC 2023



Am 29.09.23 um 19:31 schrieb Hal Kierstead via lyx-users:
> This took me a while because of working with two apps.
>
> Here are a Latex file

> . The Lyx file is too short. Also it does not compile because of an 
> extra brace related to the equation.


The \parbox and the \label are the problem. However, a \parbox inside the
eqaution is a bit curious. You should use \text from amsmath or at least
\textit:

  \begin{equation}\label{k5y}
    k=5 \text{ and there is some } y\in N(v_1)\cap N(v_4)
        \text{ with } N_{G-C}(y)=\{z\} \text{ and } d_{G-C}(z)\ge 3.
  \end{equation}

The \label will still be the problem for tex2lyx, because it merges the
equation number (1) with the label to (1k5y).  This looks like a bug
in tex2lyx.

Herbert





More information about the lyx-users mailing list