Hello,

  the following patch seems to work. However, I am quite sure that it
breaks something. Alejandro Aguilar Sierra certainly has a better idea.

  So if you apply this patch, remember, there is a risk!!! 

  Etienne


  first, cd to the lyx directory,

cat > mypatch <<EOF
--- src/formula.C.orig  Mon Feb  1 18:36:42 1999
+++ src/formula.C       Thu Apr 22 08:37:36 1999
@@ -871,7 +871,7 @@
     case LFUN_EMPH:  mathcursor->setLastCode(LM_TC_CAL); break;
     case LFUN_ROMAN: mathcursor->setLastCode(LM_TC_RM); break;
     case LFUN_CODE: mathcursor->setLastCode(LM_TC_TT); break;   
-    case LFUN_DEFAULT:  varcode = LM_TC_VAR; break;
+    case LFUN_DEFAULT:  mathcursor->setLastCode(LM_TC_VAR ) ; break;
     case LFUN_TEX: 
     {
 //       varcode = LM_TC_TEX;
EOF
patch -p0 < mypatch

Reply via email to