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:
Dov Feldstern 2007-07-17 19:06:33 +00:00
parent 3e3955c4f3
commit 754cdbea0e

View File

@ -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;
}