On Thu, Sep 19, 2002 at 12:07:12PM +0300, Martin Vermeer wrote:
> On Thu, Sep 19, 2002 at 09:10:54AM +0200, Andre Poenitz wrote:
> Okay, here is a clean solution. With this, the math panel produces the
> \math?? font commands, while the familiar font commands for text mode
> (found on the layout menu and toolbar too) produce the \text?? commands. 
> Should make everybody happy.

I don't want the Math-Font LFUNS (and the "real ones" neither, but that's a
separate issue). Font definitions should be extentable by the user, so
having it as hard-coded enum is technically infeasible. Look at what is
happening when we try to improve that: FONT_FREE  *brrrr*

[Ultimately I want to be able to simply read latex.ltx 
(\DeclareRobustCommand\rmfamily
   {\not@math@alphabet\rmfamily\mathrm
    \fontfamily\rmdefault\selectfont} etc)
and be done  with font initialization etc.
But that's certainly not happening soon]

> Only negative I see is the addition of half a dozen LFUNs. Sure your
> solution of LFUN_FONT "..." would be better... but perhaps after
> the freeze.

Yes.

> I will not speculate if this is straightforward enough to be compatible 
> with the feature freeze :-)

Not really...

>  FormMathsStyle::FormMathsStyle(LyXView & lv, Dialogs & d,
>                              FormMathsPanel const & p)
>       : FormMathsSub(lv, d, p, _("Maths Styles & Fonts"), false),
> -       style_(-1)
> +     style_(-1)
>  {}

Just use LFUN_MATH_INSERT \mathbf here and drop the new LFUNs and I'd say
it is ok until 1.4...

Andre'


-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to