mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 08:44:01 +00:00
Do not switch dir with numbers and babel in full unicode
Patch by Udi Fogiel
This commit is contained in:
parent
0de7095774
commit
b42e978080
@ -439,7 +439,8 @@ int Font::latexWriteStartChanges(otexstream & os, BufferParams const & bparams,
|
|||||||
// (possibly a LuaTeX bug)
|
// (possibly a LuaTeX bug)
|
||||||
os << "{\\LR{";
|
os << "{\\LR{";
|
||||||
count += 6;
|
count += 6;
|
||||||
} else {
|
} else if (!runparams.isFullUnicode()) {
|
||||||
|
// not needed with babel/lua|xetex
|
||||||
os << "{\\beginL ";
|
os << "{\\beginL ";
|
||||||
count += 9;
|
count += 9;
|
||||||
}
|
}
|
||||||
@ -616,7 +617,8 @@ int Font::latexWriteEndChanges(otexstream & os, BufferParams const & bparams,
|
|||||||
// (possibly a LuaTeX bug)
|
// (possibly a LuaTeX bug)
|
||||||
os << "}}";
|
os << "}}";
|
||||||
count += 2;
|
count += 2;
|
||||||
} else {
|
} else if (!runparams.isFullUnicode()) {
|
||||||
|
// not needed with babel/lua|xetex
|
||||||
os << "\\endL}";
|
os << "\\endL}";
|
||||||
count += 6;
|
count += 6;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user