]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.C
updates to latexfeatures stuff; allow empty \document_path
[lyx.git] / src / mathed / math_spaceinset.C
index 2355e3c05b748d7c9bfa9347e5bbee4ab9a998fb..d348218c2b857bc78b2bf0bc7fbdd9790854ca9f 100644 (file)
@@ -21,20 +21,7 @@ MathInset * MathSpaceInset::clone() const
 }
 
 
-void MathSpaceInset::write(MathWriteInfo & os) const
-{
-       if (space_ >= 0 && space_ < 6)
-               os << '\\' << latex_mathspace[space_] << ' ';
-}
-
-
-void MathSpaceInset::writeNormal(NormalStream & os) const
-{
-       os << "[space " << space_ << "] ";
-}
-
-
-void MathSpaceInset::metrics(MathMetricsInfo const & mi) const
+void MathSpaceInset::metrics(MathMetricsInfo const &) const
 {
        width_ = space_ ? space_ * 2 : 2;
        if (space_ > 3)
@@ -70,3 +57,30 @@ void MathSpaceInset::incSpace()
 {
        space_ = (space_ + 1) % 6;
 }
+
+
+void MathSpaceInset::maplize(MapleStream & os) const
+{
+       os << ' ';
+}
+
+
+void MathSpaceInset::octavize(OctaveStream & os) const
+{
+       os << ' ';
+}
+
+
+void MathSpaceInset::normalize(NormalStream & os) const
+{
+       os << "[space " << space_ << "] ";
+}
+
+
+void MathSpaceInset::write(WriteStream & os) const
+{
+       if (space_ >= 0 && space_ < 6)
+               os << '\\' << latex_mathspace[space_] << ' ';
+}
+
+