mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
LuaTeX (luabidi) does not correct directions
This amends [9d20bc4e98/lyxgit].
This commit is contained in:
parent
b6f0c1de3d
commit
a95339c6e1
@ -2245,8 +2245,9 @@ int Paragraph::Private::startTeXParParams(BufferParams const & bparams,
|
||||
InsetCode code = ownerCode();
|
||||
bool const lastpar = runparams.isLastPar;
|
||||
// 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:
|
||||
@ -2308,8 +2309,9 @@ bool Paragraph::Private::endTeXParParams(BufferParams const & bparams,
|
||||
InsetCode code = ownerCode();
|
||||
bool const lastpar = runparams.isLastPar;
|
||||
// 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:
|
||||
|
Loading…
Reference in New Issue
Block a user