On 6/2/25 4:51 AM, Pavel Sanda wrote:
On Sat, May 31, 2025 at 11:31:37AM +0900, Yokota K. wrote:
Does this mean format increment is unnecessary and also lyx2lyx is working well?
I am not expert on mathed parsing, Enrico would know.
I think the point here is that the math stuff is just stored as LaTeX.
There are not LyX-specific constructs in it. So the LyX file looks like:
\begin_layout Standard
\begin_inset Formula $x^{2}$
\end_inset
The LyX insets (e.g., superscripts) are created as the Formula inset is
parsed. But there's no sign of them when it's written to LyX. It's just
written as standard LaTeX (with some extra braces, perhaps).
Hence, the Intertext inset is simply written as \intertext. LyX 2.4 will
read it and treat it as ERT, in effect. But LyX 2.5 will create an
Intertext inset when it reads it.
Riki
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel