string const begin_tag = "\\begin";
InsetCode code = ownerCode();
bool const lastpar = runparams.isLastPar;
- // RTL without the Bidi package switches the left/right logic
+ // RTL in classic (PDF)LaTeX (without the Bidi package)
+ // Luabibdi (used by LuaTeX) behaves like classic
bool const rtl_classic = owner_->getParLanguage(bparams)->rightToLeft()
- && !runparams.use_polyglossia;
+ && (!runparams.use_polyglossia || runparams.flavor != OutputParams::XETEX);
switch (curAlign) {
case LYX_ALIGN_NONE:
string const end_tag = "\\par\\end";
InsetCode code = ownerCode();
bool const lastpar = runparams.isLastPar;
- // RTL without the Bidi package switches the left/right logic
+ // RTL in classic (PDF)LaTeX (without the Bidi package)
+ // Luabibdi (used by LuaTeX) behaves like classic
bool const rtl_classic = owner_->getParLanguage(bparams)->rightToLeft()
- && !runparams.use_polyglossia;
+ && (!runparams.use_polyglossia || runparams.flavor != OutputParams::XETEX);
switch (curAlign) {
case LYX_ALIGN_NONE:
- Find local bib files when they exist in the same directory as the LyX
file (bug 11588).
-- Fix column order with RTL documents and LuaTeX (part of bug 9686).
+- Fix table column order with RTL documents and LuaTeX (part of bug 9686).
+
+- Fix paragraph alignment with RTL documents and LuaTeX (part of bug 11399).
* USER INTERFACE