mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Fix #10583 - plain quote inset latex export in different font encodings.
Since [e68afbe671394a/lyxgit], plain quotes came out wrong if the document contains text parts in languages setting a different font encoding.
This commit is contained in:
parent
c546977c6e
commit
fa0f142eee
@ -374,11 +374,7 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op) const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 0x0027: {// ' (plain)
|
case 0x0027: {// ' (plain)
|
||||||
if (op == "t1")
|
res = "\\textquotesingle";
|
||||||
res = "\\textquotesingle";
|
|
||||||
else
|
|
||||||
res = "\\char39";
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
case 0x201e: {// ,,
|
case 0x201e: {// ,,
|
||||||
if (op == "t1")
|
if (op == "t1")
|
||||||
@ -422,11 +418,7 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op) const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 0x0022: {// "
|
case 0x0022: {// "
|
||||||
if (op == "t1")
|
res = "\\textquotedbl";
|
||||||
res = "\\textquotedbl";
|
|
||||||
else
|
|
||||||
res = "\\char34";
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
// The following are fakes
|
// The following are fakes
|
||||||
// This is just to get something symbolic
|
// This is just to get something symbolic
|
||||||
|
Loading…
Reference in New Issue
Block a user