The branch, master, has been updated. - Log -----------------------------------------------------------------
commit a1e2e12ba4443c2d67a96fcabbddc9337598f828 Author: Juergen Spitzmueller <[email protected]> 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 d93594a..807abbd 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -1076,6 +1076,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 8e796db..58505cc 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -2493,7 +2493,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 = ----------------------------------------------------------------------- Summary of changes: src/Paragraph.cpp | 1 + src/insets/InsetTabular.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletions(-) hooks/post-receive -- The LyX Source Repository
