]> git.lyx.org Git - lyx.git/commitdiff
Do not output quote TextCommand definitions for polyglossia
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 10 Dec 2016 15:07:04 +0000 (16:07 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 10 Dec 2016 15:07:04 +0000 (16:07 +0100)
These are meant to be output for non-T1 8bit font encodings.

src/insets/InsetQuotes.cpp

index bcdcff25e1b882684f203eca9c3fbbdbb32744d7..e4f058c6e28875f413f8d0032d8ae8f699d091b9 100644 (file)
@@ -356,7 +356,7 @@ void InsetQuotes::validate(LaTeXFeatures & features) const
 #else
        if (!features.useBabel()
 #endif
-           && fontenc_ != "T1") {
+           && !features.usePolyglossia() && fontenc_ != "T1") {
                if (times_ == SingleQuotes)
                        switch (type) {
                        case ',': features.require("quotesinglbase"); break;