Re: A patch to Improve Arabic-Like language support

2007-05-10 Thread Mostafa Vahedi
>> There are two possibilities to support ArabTeX and ARABI together in >> LyX: 1) to specify which one we would like to use througout the file >> 2) to specify that we like to use ArabTeX for some part of the file >> instead of ARABI (note that the other way is not possible) >> >> The question i

Re: A patch to Improve Arabic-Like language support

2007-05-10 Thread Abdelrazak Younes
Mostafa Vahedi wrote: Mostafa> The question is: which one to use? You said above that the two packages are fully compatible. Can't we require both then? Indeed :) Especially sine most of the arabic support is built with arabtex in mind, I guess. Unfortunately, I do not have a good answer to

Re: A patch to Improve Arabic-Like language support

2007-05-10 Thread Mostafa Vahedi
>> Mostafa> The question is: which one to use? > >You said above that the two packages are fully compatible. Can't we >require both then? > >> >> Indeed :) Especially sine most of the arabic support is built with >> arabtex in mind, I guess. Unfortunately, I do not have a good answer >> to this

Re: A patch to Improve Arabic-Like language support

2007-05-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Mostafa" == Mostafa Vahedi <[EMAIL PROTECTED]> writes: Mostafa> 1) The few fonts defined in ArabTeX are not beautiful and I Mostafa> don't know of any other fonts can be used with ArabTeX, while Mostafa> ARABI uses the many free fonts available on the Internet and

Re: A patch to Improve Arabic-Like language support

2007-05-10 Thread Jean-Marc Lasgouttes
> "Mostafa" == Mostafa Vahedi <[EMAIL PROTECTED]> writes: Mostafa> 1) The few fonts defined in ArabTeX are not beautiful and I Mostafa> don't know of any other fonts can be used with ArabTeX, while Mostafa> ARABI uses the many free fonts available on the Internet and Mostafa> it is possible

Re: A patch to Improve Arabic-Like language support

2007-05-10 Thread Mostafa Vahedi
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > I seemed to me that LyX' arabic format was supposed to rely on > arabtex. Could you comment on the differences between those two > packages? > JMarc 1) The few fonts defined in ArabTeX are not beautiful and I don't know of any other fonts ca

Re: A patch to Improve Arabic-Like language support

2007-05-10 Thread Jean-Marc Lasgouttes
> "Mostafa" == Mostafa Vahedi <[EMAIL PROTECTED]> writes: >> Mostafa Vahedi wrote: > Two set of changes to "src/Font.cpp" > 1) >> In Hebrew, Arabic, and Farsi (Right-to-Left) languages the numbers >> > are written from left to write. >> >> I will commit this part as it is obviously correct. >

Re: A patch to Improve Arabic-Like language support

2007-05-10 Thread Abdelrazak Younes
Mostafa Vahedi wrote: Mostafa Vahedi wrote: Two set of changes to "src/Font.cpp" 1) In Hebrew, Arabic, and Farsi (Right-to-Left) languages the numbers are written from left to write. I will commit this part as it is obviously correct. 2) Mixing Farsi & Arabic with english "\textFR{phrase}" an

"hebrew" Special cases (was Re: A patch to Improve Arabic-Like language support)

2007-05-10 Thread Abdelrazak Younes
There are other places with special casing for "hebrew" in the code, could you please have a look at this Mostafa? BufferParam::writeLaTeX() line 839: // language should be a parameter to \documentclass if (language->babel() == "hebrew" && default_language->babel()

Re: A patch to Improve Arabic-Like language support

2007-05-10 Thread Mostafa Vahedi
> Mostafa Vahedi wrote: > > Two set of changes to "src/Font.cpp" > > 1) In Hebrew, Arabic, and Farsi (Right-to-Left) languages the numbers > > are written from left to write. > > I will commit this part as it is obviously correct. > > > 2) Mixing Farsi & Arabic with english "\textFR{phrase}" and

Re: A patch to Improve Arabic-Like language support

2007-05-10 Thread Abdelrazak Younes
Mostafa Vahedi wrote: Two set of changes to "src/Font.cpp" 1) In Hebrew, Arabic, and Farsi (Right-to-Left) languages the numbers are written from left to write. I will commit this part as it is obviously correct. 2) Mixing Farsi & Arabic with english "\textFR{phrase}" and "\textAR{phrase}" a

A patch to Improve Arabic-Like language support

2007-05-10 Thread Mostafa Vahedi
Two set of changes to "src/Font.cpp" 1) In Hebrew, Arabic, and Farsi (Right-to-Left) languages the numbers are written from left to write. 2) Mixing Farsi & Arabic with english "\textFR{phrase}" and "\textAR{phrase}" are used respectively. - 8:00? 8:25? 8:40? F