mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Reverse numbers in Arabic (Arabi) latex output, so that they are output
correctly. This is not needed for Arabic (ArabTeX), as ArabTeX takes care of this internally. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19105 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3e3955c4f3
commit
754cdbea0e
@ -802,7 +802,8 @@ int Font::latexWriteStartChanges(odocstream & os, BufferParams const & bparams,
|
||||
// for Hebrew and Farsi (Arabi) do not.
|
||||
if (number() == ON && prev.number() != ON
|
||||
&& (language()->lang() == "hebrew"
|
||||
|| language()->lang() == "farsi")) {
|
||||
|| language()->lang() == "farsi"
|
||||
|| language()->lang() == "arabic_arabi")) {
|
||||
os << "{\\beginL ";
|
||||
count += 9;
|
||||
}
|
||||
@ -935,7 +936,8 @@ int Font::latexWriteEndChanges(odocstream & os, BufferParams const & bparams,
|
||||
// for Hebrew and Farsi (Arabi) do not.
|
||||
if (number() == ON && next.number() != ON
|
||||
&& (language()->lang() == "hebrew"
|
||||
|| language()->lang() == "farsi")) {
|
||||
|| language()->lang() == "farsi"
|
||||
|| language()->lang() == "arabic_arabi")) {
|
||||
os << "\\endL}";
|
||||
count += 6;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user