A major bug in latex import for Lyx 2.4
Jürgen Spitzmüller
jspitzm at gmail.com
Fri Mar 14 04:47:31 UTC 2025
Am Donnerstag, dem 13.03.2025 um 17:23 -0400 schrieb Shuvomoy Das
Gupta:
> 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)\nonumbe
> r \\
> = & \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.
I don't see that. When I special-paste into LyX 2.4.x I get the
complete formula (see attached screenshot). Which version of LyX 2.4 is
that?
--
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Grafik-3UHJ32.png
Type: image/png
Size: 24660 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250314/5ef4a63f/attachment-0001.png>
More information about the lyx-devel
mailing list