Jean-Marc Lasgouttes wrote:
As far as I understand, the main point is to have the preview, right? Since this does not use the file conversion stuff from insetexternal, I'd prefer indeed to have InsetPreview (or preview of ert) for these kind of uses.

I am not sure we want to advertise many ways of basically doing the same thing.
It might (just might) be for different use-case scenarios: if you have those very long, specially formatted equations, which you want to keep into their separate files (perhaps also for avoiding to modify them by mistake -- or because they're generated by some sort of scripting who knows from where), then you may want to insert them as external material. If, instead, you're fine having that in the .lyx file, then you would use InsetERT.

I know one might use anyway an InsetERT which contains a simple "\input{myformula}", but I don't know whether it would be a problem or not the fact that LyX would be unaware of the reference to the external file (e.g., it should be copied into the tmp foldere while compiling etc...).

   T.

Reply via email to