]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathExtern.h
typo
[lyx.git] / src / mathed / MathExtern.h
index 82b053195ff0e9c877c6c7af9013acff4ef2ef07..2544ebf811f4b8305eec12b1caadf8f06d3d0a3c 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 #ifndef MATH_EXTERN_H
 #define MATH_EXTERN_H
 
-#include "support/docstring.h"
-#include <string>
+#include "support/strfwd.h"
 
 namespace lyx {
 
+class HtmlStream;
 class NormalStream;
 class MapleStream;
 class MaximaStream;
 class MathematicaStream;
-class MathStream;
+class MathMLStream;
 class OctaveStream;
-class WriteStream;
+class TeXMathStream;
 class MathData;
 
-void write(MathData const &, WriteStream &);
+void write(MathData const &, TeXMathStream &);
+void htmlize(MathData const &, HtmlStream &);
 void normalize(MathData const &, NormalStream &);
 void maple(MathData const &, MapleStream &);
 void maxima(MathData const &, MaximaStream &);
 void mathematica(MathData const &, MathematicaStream &);
-void mathmlize(MathData const &, MathStream &);
+void mathmlize(MathData const &, MathMLStream &);
 void octave(MathData const &, OctaveStream &);
 
 bool extractNumber(MathData const & ar, int & i);
 bool extractNumber(MathData const & ar, double & i);
 
+/// Write \p s (which may contain math or text contents in LaTeX syntax) to \p os
+void writeString(docstring const & s, TeXMathStream & os);
+
 MathData pipeThroughExtern(std::string const & language,
        docstring const & extra, MathData const & ar);