]> git.lyx.org Git - features.git/blobdiff - src/mathed/formula.C
several small patches and some fixes, read the ChangeLog
[features.git] / src / mathed / formula.C
index 7b499e58634381a1a4789535dffeb303bb448e8a..5737a6ab015a4634fd078959fb86d6acb8759905 100644 (file)
@@ -317,14 +317,18 @@ int InsetFormula::Latex(ostream & os, bool fragile, bool) const
     int ret = 0;      
 //#warning Alejandro, the number of lines is not returned in this case
 // This problem will disapear at 0.13.
-    if (fragile) // this is where fragile != 0 was used (Lgb)
-           par->Write(os, fragile);
-    else
-           mathed_write(par, os, &ret, fragile, label.c_str());
+    mathed_write(par, os, &ret, fragile, label.c_str());
     return ret;
 }
 
 
+int InsetFormula::Ascii(ostream & os) const
+{
+    par->Write(os, false);
+    return 0;
+}
+
+
 int InsetFormula::Linuxdoc(ostream &) const
 {
     return 0;