LyX closes when searching and replacing within an equation.

José Matos jaomatos at gmail.com
Fri Jul 12 22:02:59 UTC 2024


On Fri, 2024-07-12 at 14:08 -0500, 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. If I do a search
> to after, the program closes.

When I need to copy and past from (wx)maxima I always copy and past the
formula in math mode.

Then in order to remove the extraneous curly brackets I search for
corresponding opening bracket (bra ?! too much quantum mechanics :-D )
and I delete it from inside, in my case coming from the right I use the
backspace to delete it.

LyX will keep the brackets balanced and it will remove the
corresponding closing bracket. Basically this is the same as dissolving
a text inset.

The reason why it is necessary to do this manually is because some of
the curly brackets need to be there.

I hope that this helps, best regards,
-- 
José Abílio


More information about the lyx-devel mailing list