]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_mathmlstream.h
fix typo that put too many include paths for most people
[lyx.git] / src / mathed / math_mathmlstream.h
index bdcf4751ca7524ab142dcf0051408ebb22de0079..364e5c10778e7e070c7b70db6ba922d9fd995c66 100644 (file)
@@ -160,7 +160,7 @@ OctaveStream & operator<<(OctaveStream &, char);
 class WriteStream {
 public:
        ///
-       WriteStream(std::ostream & os, bool fragile);
+       WriteStream(std::ostream & os, bool fragile, bool latex);
        ///
        explicit WriteStream(std::ostream & os_);
        ///
@@ -168,6 +168,8 @@ public:
        ///
        bool fragile() const { return fragile_; }
        ///
+       bool latex() const { return latex_; }
+       ///
        std::ostream & os() { return os_; }
        ///
        bool & firstitem() { return firstitem_; }
@@ -178,6 +180,8 @@ private:
        std::ostream & os_;
        ///
        bool fragile_;
+       /// are we writing to .tex?
+       int latex_;
        /// are we at the beginning of an MathArray?
        bool firstitem_;
        ///