Erez Yerushalmi wrote:
I had an idea regarding this issue, which could be useful a wide range of
issues

The easiest option at the moment to find and replace would be to export as
latex into an editor, and find and replace y_{1t}  into  x_{1t}. Then import
it again.

If LyX is an editor for Latex, why don't we have a special button that
enables us to switch from "regular" LyX view to a "programing" editor view?

Then, I would find and replace like I will do now in a programming editor.
Furthermore, this would cover all the latex command possible in one shot.

When I'm done, I press again "regular" lyx view, and continue my work.

Another side benefit would be that it actually helps us to understand what
underlying latex commands were actually used in LyX, which would bring me
back to the basics, closer to the LyX/Latex idea.

This is a long-standing desire, for "round trip" LaTeX editing, or the ability to edit directly in the View>Source pane. Unfortunately, LyX's own internal format isn't LaTeX, and the tex2lyx importer isn't ready for this kind of thing. But rest assured people keep thinking about it, and JMarc's recent work updating tex2lyx, so that it will at least produce the 1.6 format---I can't remember if this has actually been completely done yet---is at least a step in the right direction.

rh

Reply via email to