Bo Peng wrote:

> 
>> 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.

As the guy writing the code, I beg to differ.

Turn on instant preview and assume that any inset not previewed is 
wrong?

-- 
Angus

Reply via email to