Guenter Milde wrote: > Can't we use the standard way of representing insets even if the inset is > nested in math? > > E.g. > > \begin_layout Standard > Was ist > \begin_inset Formula $ > \begin_inset ERT > status open > > \begin_layout Plain Layout > > ert > \end_layout > > \end_inset > > in math$ > \end_inset
This is a very good idea. It would have some advantages: Later we could use the standard ERT inset, and we could also use InsetText for insets that store text (e.g. \mbox), which would make editing much more convenient (but this would require some more work). The only question is: Is it guaranteed that a macro name can never contain an underscore in LaTeX or TeX? If yes, then this would be quite easy to implement at file format level. Georg