mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-21 17:51:03 +00:00
Fix swapped logic (#11889)
(cherry picked from commitbde95c1876
) (cherry picked from commitbccafdac19
)
This commit is contained in:
parent
f6d14f7435
commit
5b10e628f8
@ -353,7 +353,7 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op,
|
|||||||
case 0x2019: {// '
|
case 0x2019: {// '
|
||||||
if (op == "int")
|
if (op == "int")
|
||||||
// This macro is redefined in rtl mode
|
// This macro is redefined in rtl mode
|
||||||
res = rtl ? "\\textquoteright" : "\\textquoteleft";
|
res = rtl ? "\\textquoteleft" : "\\textquoteright";
|
||||||
else
|
else
|
||||||
res = "'";
|
res = "'";
|
||||||
break;
|
break;
|
||||||
@ -361,7 +361,7 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op,
|
|||||||
case 0x2018: {// `
|
case 0x2018: {// `
|
||||||
if (op == "int")
|
if (op == "int")
|
||||||
// This macro is redefined in rtl mode
|
// This macro is redefined in rtl mode
|
||||||
res = rtl ? "\\textquoteleft" : "\\textquoteright";
|
res = rtl ? "\\textquoteright" : "\\textquoteleft";
|
||||||
else
|
else
|
||||||
res = "`";
|
res = "`";
|
||||||
break;
|
break;
|
||||||
@ -396,7 +396,7 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op,
|
|||||||
case 0x201d: {// ''
|
case 0x201d: {// ''
|
||||||
if (op == "int")
|
if (op == "int")
|
||||||
// This macro is redefined in rtl mode
|
// This macro is redefined in rtl mode
|
||||||
res = rtl ? "\\textquotedblright" : "\\textquotedblleft";
|
res = rtl ? "\\textquotedblleft" : "\\textquotedblright";
|
||||||
else
|
else
|
||||||
res = "''";
|
res = "''";
|
||||||
break;
|
break;
|
||||||
@ -404,7 +404,7 @@ docstring InsetQuotesParams::getLaTeXQuote(char_type c, string const & op,
|
|||||||
case 0x201c: {// ``
|
case 0x201c: {// ``
|
||||||
if (op == "int")
|
if (op == "int")
|
||||||
// This macro is redefined in rtl mode
|
// This macro is redefined in rtl mode
|
||||||
res = rtl ? "\\textquotedblleft" : "\\textquotedblright";
|
res = rtl ? "\\textquotedblright" : "\\textquotedblleft";
|
||||||
else
|
else
|
||||||
res = "``";
|
res = "``";
|
||||||
break;
|
break;
|
||||||
|
@ -38,6 +38,9 @@ What's new
|
|||||||
|
|
||||||
* DOCUMENT INPUT/OUTPUT
|
* DOCUMENT INPUT/OUTPUT
|
||||||
|
|
||||||
|
- Fix wrong output of quotation marks in headings and captions with hyperref
|
||||||
|
enabled (bug 11889).
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user