diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index eb328f5321..fc3ef3c6bc 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -710,11 +710,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';