On Wed, Sep 18, 2002 at 09:46:42PM +0100, John Levon wrote:
 
> > I think the GUI should both support text?? and math?? for ?? = bf, sf,
> > tt, ...
> 
> We already have that. the math panel menus should insert the math forms,
> the others should insert the text versions. I don't get why this is such
> a big problem.

No, we don't! We should, I agree, but we don't: "emphasise" from
layout->char inserts mathcal into math (not textit), and "noun" does 
mathbb, not textbb, etc. Look at formulabase.C:584-595. The problem is
the lacking of separate LFUNs for the text and math versions, so some of
them are "overloaded" here.
 
> I don't understand what we're arguing about - I can't see a good reason
> that the math panel should ever insert something other than the math
> forms.

I agree. But that requires separate LFUNS and getting rid of the
overloading trickery above. Alternatively, Dekel's idea of making the
same LFUNs do one thing in text (and text embedded inside math) and 
another in math. But then an explicit mechanism to embed text into 
math must exist as well. The current situation is a vague mix of both 
these ideas.

> regards
> john

Cheers Martin

Attachment: msg44910/pgp00000.pgp
Description: PGP signature

Reply via email to