LyX closes when searching and replacing within an equation.
T Rex
sixpalax at gmail.com
Fri Jul 12 19:08:33 UTC 2024
Greetings to all,
I am trying to insert Latex from an equation generated by wxMaxima. When
viewing there are "{" symbols that seem to be left over and although they
are not in the final document, I don't like them being there. So I decided
to use the find and replace tool, but it does nothing on the selected text,
in this case the equation with the symbol "{", when trying to replace it
with nothing. If I do a search to after, the program closes.
LyX v2.4.1
The terminal message:
/usr/include/c++/13.2.0/bits/stl_vector.h:1232: std::vector<_Tp,
_Alloc>::reference std::vector<_Tp, _Alloc>::back() [with _Tp =
lyx::CursorSlice; _Alloc = std::allocator<lyx::CursorSlice>; reference =
lyx::CursorSlice&]: Assertion '!this->empty()' failed.
and the latex code that I pasted from wxMaxima:
\begin{pmatrix}\mathop{-}\left( {{y}^{2}} \cos{\left( x y\right) } z\right)
& \mathop{-}\left( \sin{\left( x y\right) } z\right) \mathop{-}x y
\cos{\left( x y\right) } z\mathop{+}1 & \mathop{-}\left( y \sin{\left( x
y\right) }\right) \\
\mathop{-}\left( \sin{\left( x y\right) } z\right) \mathop{-}x y
\cos{\left( x y\right) } z\mathop{+}1 & 2\mathop{-}{{x}^{2}} \cos{\left( x
y\right) } z & \mathop{-}\left( x \sin{\left( x y\right) }\right) \\
\mathop{-}\left( y \sin{\left( x y\right) }\right) & \mathop{-}\left( x
\sin{\left( x y\right) }\right) & 0\end{pmatrix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240712/17c74c38/attachment.html>
More information about the lyx-devel
mailing list