Hi,

I would like to report a major bug in Lyx 2.4: it seems that when importing
latex files into Lyx, the imported lyx documents has missing equations and
all that. It should be noted that I tested the same file on Lyx 2.3 and it
worked just fine.

A simple reproducible example is as follows. You can also test it via paste
special latex option for the following formula:

\begin{align*}
 & \mathcal{R}\left(M,\mathcal{E},\mathcal{F},\mathcal{C}\right)\nonumber \\
= & \left(\begin{array}{l}
\textrm{maximize}\quad f_N-f_\star \\ %f(x_{N})-f(x_{\star})\\
\textrm{subject to}\\
f_{i}\geq f_{j}+\langle g_{j}\mid
x_{i}-x_{j}\rangle+\frac{1}{2L}\|g_{i}-g_{j}\|^{2},\quad i,j\in
I_{N}^{\star}:i\neq j,\\
g_{\star}=0,x_{\star}=0,f_{\star}=0,\\
x_{i}=x_{0}-(1/L)\sum_{j=0}^{i-1}h_{j}g_{j},\quad i\in[1:N],\\
\|x_{0}-x_{\star}\|^{2}\leq R^{2},
\end{array}\right)
% \label{eq:worst-case-pfm-fmuL-3-1}
\end{align*}

If you paste special as latex, you will see in Lyx 2.4. that only the first
line of the formula is there, the rest of the formula is missing. But the
paste special works just fine for Lyx 2.3.

Best Regards,
Shuvo
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to