mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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)
|
||||
os << "{\\LR{";
|
||||
count += 6;
|
||||
} else {
|
||||
} else if (!runparams.isFullUnicode()) {
|
||||
// not needed with babel/lua|xetex
|
||||
os << "{\\beginL ";
|
||||
count += 9;
|
||||
}
|
||||
@ -616,7 +617,8 @@ int Font::latexWriteEndChanges(otexstream & os, BufferParams const & bparams,
|
||||
// (possibly a LuaTeX bug)
|
||||
os << "}}";
|
||||
count += 2;
|
||||
} else {
|
||||
} else if (!runparams.isFullUnicode()) {
|
||||
// not needed with babel/lua|xetex
|
||||
os << "\\endL}";
|
||||
count += 6;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user