X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLaTeXFeatures.cpp;h=562e0e2a00bc2bf6c693d472c9d03596154b40f9;hb=af16acb0b4c5379ac87fe0c9fae384af1babdc3a;hp=65e1fc5966635ab388e75bb69461ab1779eab707;hpb=0bbc80fa83847668b58c5f6c17331a0c02058e68;p=lyx.git diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 65e1fc5966..562e0e2a00 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -1174,11 +1174,12 @@ docstring const LaTeXFeatures::getMacros() const macros << textgreek_def << '\n'; } - if (!usePolyglossia() && mustProvide("textcyr")) - // ensure T2A font encoding is set up also if fontenc is not loaded by LyX - if (params_.font_encoding() == "default") + if (!usePolyglossia() && mustProvide("textcyr")) { + // ensure T2A font encoding is set up also if fontenc is not loaded by LyX + if (params_.font_encoding() == "default") macros << textcyr_T2A_def; macros << textcyr_def << '\n'; + } // non-standard text accents: if (mustProvide("textcommaabove") || mustProvide("textcommaaboveright") ||