]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetQuotes.cpp
Plain quote fixes
[features.git] / src / insets / InsetQuotes.cpp
index 75420a46dcfa6deca7fb2b80c23294c06e5d9e55..06ef469729c81ff1f43776c95a5438e87c7c3407 100644 (file)
@@ -374,7 +374,10 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op) const
                break;
        }
        case 0x0027: {// ' (plain)
-               res = "\\textquotesingle";
+               if (op == "t1")
+                       res = "\\textquotesingle";
+               else
+                       res = "\\char39";
                break;
        }
        case 0x201e: {// ,,
@@ -419,7 +422,10 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op) const
                break;
        }
        case 0x0022: {// "
-               res = "\\textquotedbl";
+               if (op == "t1")
+                       res = "\\textquotedbl";
+               else
+                       res = "\\char34";
                break;
        }
        // The following are fakes