> The effort for a black alpha is zero, the effort for a red one is > substantial, or in other words, _I_ won't do it. If there was a clean > patch by someone else, I might apply it, though...
I have another idea. Under 'instant preview', when error happens and latex can not compile the snipet, lyx will do nothing. How about returning some image of 'wrong formula'? I think this is a good idea since 1. Running latex on small pieces of code is a cost-effective way to check for errors. .. and 'instant preview' has done that for us. 2. This can detect not only \text{\alpha}, but also other common errors such as \cases without amsmath. 3. As far as I can see, the effort of doing this is not significant. We need only to change the snipet latex code to '\fbox{wrong formula}' when compilation fails and then compile again. Any opinions? -- Bo Peng