diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index be4771cfd3..e6787c5584 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -723,11 +723,12 @@ string const LaTeXFeatures::getMacros() const for (; pit != pend; ++pit) macros << *pit << '\n'; - if (mustProvide("papersize")) + if (mustProvide("papersize")) { if (runparams_.flavor == OutputParams::LATEX) macros << papersizedvi_def << '\n'; else macros << papersizepdf_def << '\n'; + } if (mustProvide("LyX")) macros << lyx_def << '\n';