From e68afbe671394a2aea8b867bffa2ecb44aa533bb Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Thu, 23 Feb 2017 10:39:50 +0100 Subject: [PATCH] Plain quote fixes \textquote... commands are only available in t1. --- src/insets/InsetQuotes.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.5