The branch, 2.0.x, has been updated. - Log -----------------------------------------------------------------
commit d10927c6f263bde4c33aad7a28d8e103844f27d6 Author: Juergen Spitzmueller <sp...@lyx.org> Date: Mon Jul 23 08:40:37 2012 +0200 Suppress babel RTL commands when using polyglossia (part of #8251) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 389e292..55df8b4 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -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 diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 1e91d5c..768b8cf 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -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 = diff --git a/status.20x b/status.20x index c720566..65a6e57 100644 --- a/status.20x +++ b/status.20x @@ -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 ----------------------------------------------------------------------- Summary of changes: src/Paragraph.cpp | 1 + src/insets/InsetTabular.cpp | 3 ++- status.20x | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) hooks/post-receive -- The LyX Source Repository