]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.cpp
A little more lv cleanup.
[lyx.git] / src / OutputParams.cpp
index d746a6fb1d66d5e633835c2b03a4636916fff9e4..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),
@@ -29,7 +29,8 @@ OutputParams::OutputParams(Encoding const * enc)
          changeOfDeletedInset(Change::UNCHANGED),
          par_begin(0), par_end(0), isLastPar(false),
          dryrun(false), verbatim(false), 
-         html_disable_captions(false), html_in_par(false)
+         html_disable_captions(false), html_in_par(false),
+         html_make_pars(true), for_toc(false), includeall(false)
 {
        // Note: in PreviewLoader::Impl::dumpPreamble
        // OutputParams runparams(0); 
@@ -42,4 +43,9 @@ OutputParams::~OutputParams()
 {}
 
 
+bool OutputParams::isLaTeX() const
+{
+       return flavor == LATEX || flavor == PDFLATEX || flavor == XETEX; 
+}
+
 } // namespace lyx