Plain quote fixes

\textquote... commands are only available in t1.
This commit is contained in:
Juergen Spitzmueller 2017-02-23 10:39:50 +01:00
parent cf82bcadfb
commit e68afbe671

View 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