mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix #9792 cyrtext and textcyr in the preamble of every document.
Add the brackets missing in [468cedb923b/lyxgit].
This commit is contained in:
parent
92b7c5a92f
commit
af16acb0b4
@ -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") ||
|
||||
|
Loading…
Reference in New Issue
Block a user