LyX closes when searching and replacing within an equation.
Richard Kimberly Heck
rikiheck at gmail.com
Fri Jul 12 19:30:07 UTC 2024
On 7/12/24 3:08 PM, T Rex wrote:
> 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.
Ordinary search and replace does not work on math. You have to use the
advanced version. I'm not sure that will do what you want though.
> If I do a search to after, the program closes.
Missing word here? It'd be good to be able to reproduce this crash, even
though...
> ...the latex code that I pasted from wxMaxima:
>
> \begin{pmatrix}\mathop{-}\left( {{y}^{2}}
The offending braces are there in the code you pasted. LyX just includes
them, because it doesn't try to outsmart you. I'd take them out first,
then paste.
Riki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240712/5e1dd167/attachment-0001.html>
More information about the lyx-devel
mailing list