On Fri, 2006-03-03 at 11:05 +0100, Georg Baum wrote:
> Martin Vermeer wrote:
> 
> > Actually a simple fix that comes to my mind is to simply strip out all
> > internal dollar signs before trying to parse the string.
> 
> Something even simpler would be to do the mutate call only if there are no
> dollar signs,

That will still pass through non-latexable stuff.

>  but I am not sure whether we should do anything here at all.
> formulas of type "none" are not officially supported after all.

This is something people are allowed to do by the UI. They tend to get
distressed if LyX accepts stuff that then makes LaTeX mutter obtuse
satanistic incantations under its breath. I know there is more of that,
but this one is sooo easy to prevent.

> > Then, in an earlier patch of mine posted on the list, the MathFontInset
> > output routine would again add the dollar signs around any equations
> > found embedded in \textrm-like fontinsets, which is the only place they
> > are required.
> 
> I don't think that this is a good idea. We should not do anything with
> \textrm etc. These should be replaced by a working MathMBoxInset that
> stores its content as a InsetText. That will solve all problems, because
> then the InsetText can contain any math formula.

Yes, but when? This is a here and now problem, with a ready fix.

- Martin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to