On Wed, Sep 18, 2002 at 04:11:49PM +0100, John Levon wrote:
 
> On Wed, Sep 18, 2002 at 04:51:39PM +0200, Andre Poenitz wrote:
> 
> > > I don't even use any font lfun from qt math panel.

But perhaps you should. Otherwise you won't be able to select a range of
characters and change them to some font. That's why the xforms side uses
dispatch. As I understand it.
 
> >     dispatch(FuncRequest(LFUN_INSERT_MATH, "\\mathbf"))

E.g. like this.

André: does this do font change on selection?

> > basically reaches the same effect the same using a different way.
> 
> So you're telling me this will now actually to \textbf ?? Huhh ??
> 
> > > How are xforms users supposed to insert mathsf from the gUI ?
> > 
> > By typing  \mathsf as is the case for all the other "unsupported font
> > changes"?
> 
> So \mathsf is going to be unsupported by the GUI ? Do you think this is
> a step forwards ? I don't.
> 
> > How would the user use \textsf within mathed if LFUN_SANS were changed to
> > insert \mathsf?

Great!!! Finally we're discussing essentials.

I think the GUI should both support text?? and math?? for ?? = bf, sf,
tt, ...

The layout->character dialog should work inside math and do the same
things as for text... currently not quite so, it does a little trickery
in formulabase to produce mathcal and mathbb etc., and sans isn't 
even provided. Not clean. But that's your GUI for text?? also inside math,
after clean-up. The styles/fonts sub-panel of the math panel should then 
handle the math??. That would apparently require separate LFUNs for text 
and math; sigh.

Does that make sense?

> Why can't it insert \mathsf in math and \textsf in math text mode ?

No, don't make this automatic. As André pointed out, you may want to use
\textsf even within a math inset, in a text piece within.
 
> What changes do you want me to make to Qt then ? 
> 
> john

Martin

Attachment: msg44906/pgp00000.pgp
Description: PGP signature

Reply via email to