]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_symbolinset.C
Improve Computer Algebra System, from Enrico Forestieri <forenr@tlc.unipr.it>
[features.git] / src / mathed / math_symbolinset.C
index 4159d2da308acb5b06947409a78e84642553fd53..c6fec301de5c9b6c4fc90d09d1b4011d0269915c 100644 (file)
@@ -165,7 +165,9 @@ void MathSymbolInset::maxima(MaximaStream & os) const
        if (name() == "cdot")
                os << '*';
        else if (name() == "infty")
-               os << "INF";
+               os << "inf";
+       else if (name() == "pi")
+               os << "%pi";
        else
                os << name();
 }
@@ -175,6 +177,7 @@ void MathSymbolInset::mathematica(MathematicaStream & os) const
 {
        if ( name() == "pi")    { os << "Pi"; return;}
        if ( name() == "infty") { os << "Infinity"; return;}
+       if ( name() == "cdot")  { os << '*'; return;}
        os << name();
 }