]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.cpp
HTML for math fonts.
[lyx.git] / src / OutputParams.cpp
index 09583d94c8ba25a10655bfc60a45e799654ac197..f216bc6384a3684ad5a001fde5edc7d4cff0d3f7 100644 (file)
@@ -19,8 +19,8 @@ namespace lyx {
 
 
 OutputParams::OutputParams(Encoding const * enc)
-       : flavor(LATEX), nice(false), moving_arg(false), inulemcmd(false),
-         local_font(0), master_language(0), encoding(enc),
+       : flavor(LATEX), math_flavor(NotApplicable), nice(false), moving_arg(false), 
+         inulemcmd(false), local_font(0), master_language(0), encoding(enc),
          free_spacing(false), use_babel(false),
          use_indices(false), use_japanese(false), linelen(0), depth(0),
          exportdata(new ExportData),
@@ -43,4 +43,9 @@ OutputParams::~OutputParams()
 {}
 
 
+bool OutputParams::isLaTeX() const
+{
+       return flavor == LATEX || flavor == PDFLATEX || flavor == XETEX; 
+}
+
 } // namespace lyx