From: Juergen Spitzmueller Date: Thu, 23 Feb 2017 09:39:50 +0000 (+0100) Subject: Plain quote fixes X-Git-Tag: 2.3.0alpha1~325 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e68afbe671394a2aea8b867bffa2ecb44aa533bb;p=features.git Plain quote fixes \textquote... commands are only available in t1. --- diff --git a/src/insets/InsetQuotes.cpp b/src/insets/InsetQuotes.cpp index 75420a46dc..06ef469729 100644 --- a/src/insets/InsetQuotes.cpp +++ b/src/insets/InsetQuotes.cpp @@ -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