mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 14:04:25 +00:00
Suppress babel RTL commands when using polyglossia (part of #8251)
This commit is contained in:
parent
1a830a6b1c
commit
d10927c6f2
@ -1068,6 +1068,7 @@ void Paragraph::Private::latexInset(BufferParams const & bparams,
|
||||
odocstream::pos_type const len = os.os().tellp();
|
||||
|
||||
if (inset->forceLTR()
|
||||
&& !runparams.use_polyglossia
|
||||
&& running_font.isRightToLeft()
|
||||
// ERT is an exception, it should be output with no
|
||||
// decorations at all
|
||||
|
@ -2518,7 +2518,8 @@ void Tabular::TeXRow(otexstream & os, row_type row,
|
||||
Paragraph const & par = inset->paragraphs().front();
|
||||
bool rtl = par.isRTL(buffer().params())
|
||||
&& !par.empty()
|
||||
&& getPWidth(cell).zero();
|
||||
&& getPWidth(cell).zero()
|
||||
&& !runparams.use_polyglossia;
|
||||
|
||||
if (rtl) {
|
||||
string const lang =
|
||||
|
@ -88,11 +88,14 @@ What's new
|
||||
|
||||
- Write correct DTD for MathML (bug #8160).
|
||||
|
||||
- Make the ~ char in Basque, Estonian and Galician non-active (bug #8265).
|
||||
- Make the ~ char in Basque, Estonian and Galician non-active (bug 8265).
|
||||
|
||||
- Embrace babel settings to \makeatletter ... \makeatother if they contain
|
||||
an @ glyph.
|
||||
|
||||
- Fix LaTeX errors with right-to-left text when using XeTeX/Polyglossia
|
||||
(part of bug 8251).
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user