On 2010-06-07, Pavel Sanda wrote: > Vincent van Ravesteijn wrote: >> > what looks much easier is to allow mutating math environment into ERT >> > and back. >> > >> > pavel >> >
>> This is already possible. It needs some copy-pasting but it works. I >> once implemented this, but then disregarded it because it was >> essentially already possible. > i know, but that needs some understanding how our math insets works and its > uncomfortable to do. It is quite simple and in line with other insets: * Backspace at the first position in the inset converts it to normal text (in this case LaTeX code (without beeing marked as ERT)) Now edit ... * Highlight and Ctrl-M converts it back to a Math inset. If all you want is simple editing, there is no urgent need to have it as ERT in the meantime. > i was talking about something like "Switch to ERT/Math" > item in context menu so even normal users get the idea... OK, I see 2 advantages: 1. no need to place the cursor or highlight 2. you can compile while the Math is editible (as ERT) that might offset the cost of added complexity. Günter