On Mon, Mar 10, 2003 at 04:19:01PM +0100, Jean-Marc Lasgouttes wrote:
> 
> Andre', since you did not answer to Serge Winitzki's report about it,

I have it still in my inbox...

> Is this easily fixable?

By disabling the LFUN, yes.

We don't have the 'greek_mode' flag anymore, so if people _really_ need
it, it need to be re-added together with that hardwired latin->greek char
mapping (which I don't like).

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)
Index: formulabase.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/formulabase.C,v
retrieving revision 1.251
diff -u -p -r1.251 formulabase.C
--- formulabase.C       6 Mar 2003 10:02:40 -0000       1.251
+++ formulabase.C       10 Mar 2003 15:27:39 -0000
@@ -652,7 +652,7 @@ dispatch_result InsetFormulaBase::localD
                break;
 
        //  Math fonts
-       case LFUN_GREEK_TOGGLE: handleFont(bv, cmd.argument, "lyxgreek"); break;
+       //case LFUN_GREEK_TOGGLE: handleFont(bv, cmd.argument, "lyxgreek"); break;
        case LFUN_BOLD:         handleFont(bv, cmd.argument, "mathbf"); break;
        case LFUN_SANS:         handleFont(bv, cmd.argument, "mathsf"); break;
        case LFUN_EMPH:         handleFont(bv, cmd.argument, "mathcal"); break;
@@ -664,11 +664,11 @@ dispatch_result InsetFormulaBase::localD
        case LFUN_FREE:         handleFont(bv, cmd.argument, "textrm"); break;
        case LFUN_DEFAULT:      handleFont(bv, cmd.argument, "textnormal"); break;
 
-       case LFUN_GREEK:
-               handleFont(bv, cmd.argument, "lyxgreek1");
-               if (cmd.argument.size())
-                       mathcursor->insert(asArray(cmd.argument));
-               break;
+       //case LFUN_GREEK:
+       //      handleFont(bv, cmd.argument, "lyxgreek1");
+       //      if (cmd.argument.size())
+       //              mathcursor->insert(asArray(cmd.argument));
+       //      break;
 
        case LFUN_MATH_MODE:
                if (mathcursor->currentMode() == MathInset::TEXT_MODE) {

Reply via email to