Quick way to find or GOTO equations using eqref?

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed Oct 16 13:24:57 UTC 2024


Le 16/10/2024 à 15:06, Jean-Marc Lasgouttes a écrit :
> Unfortunately, LyX does not have support (yet) for this in math. The 
> easiest way is probably to edit the .lyx file with a text editor and do 
> some search+replace.

Of course, this discussion made me think and now in master one can just 
use the command (with M-x)
inset-forall Formula:eqnarray command-sequence char-forward ; 
math-mutate align

Thanks for the idea ;)

How does this work?
- inset-forall iterates insets, limiting itself to those with layout 
name Formula:eqnarray
- for each such inset, enter the inset, and then execute math-mutate to 
change its type.

JMarc


More information about the lyx-users mailing list