From: Günter Milde Date: Mon, 19 Oct 2015 16:21:59 +0000 (+0200) Subject: Fix #9792 cyrtext and textcyr in the preamble of every document. X-Git-Tag: 2.2.0alpha1~205 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=af16acb0b4c5379ac87fe0c9fae384af1babdc3a;p=features.git Fix #9792 cyrtext and textcyr in the preamble of every document. Add the brackets missing in [468cedb923b/lyxgit]. --- 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") ||