Hello all,

I'm joining you guys regarding writing Arabic in LyX. I know Arabic &
some LyX so I guess I can help.

So far I have not used Arabic in LyX.

On 02/12/2013 10:09 PM, stefano franchi wrote:
> I have no knowledge of Arabic, unfortunately, but following the
> instructions on the wiki seems to work for me, including right-to-left
> typing:

Right-to-Left is not enough; Arabic is a complex language which requires
connecting letters and glyph formation. Here's an example from Scribus
which has been open for a long time & still not resolved (not sure why):
http://bugs.scribus.net/view.php?id=1079

> http://wiki.lyx.org/Windows/Arabic
> It requires:
> 
> 1. Setting the document class to Article(Arabic)

Doesn't exist in my installation:

LyX 2.0.5.1 (2012-11-03)
Ubuntu 12.04.2 LTS (x86_64)

> 2. Choosing "Arabic" from Document>>Settings>>Language, as Guy said
> 3. Installing Arabic fonts for correct display in Lyx (the pdf would be
> fine without them, them)
> 
> If you do not have article[Arabic] in the Document>>Settings dropdown menu,
> there may be something missing in your latex installation.

The only relevant Arabic files I found are:

/usr/share/lyx/kbd/arabic.kmap
/usr/share/lyx/layouts/arab-article.layout
/usr/share/texmf-texlive/tex/generic/genmisc/arabic.tex
/usr/share/texmf-texlive/tex/latex/bezos/arabicfront.sty
/usr/share/texmf-texlive/tex/latex/minitoc/arab.mld
/usr/share/texmf-texlive/tex/latex/minitoc/arab2.mld
/usr/share/texmf-texlive/tex/latex/minitoc/arabi.mld
/usr/share/texmf-texlive/tex/latex/minitoc/arabic.mld

Maybe the 2nd is relecant?

 The
> article(Arabic) option uses the arabart.cls document class, which, on my TL
> 2012 linux system, lives in
> 
> /usr/local/texlive/2012/texmf-dist/tex/latex/arabtex/arabart.cls
> 
Nothing of this sort!

It appears to be part of the package: texlive-langextra
which doesn't seem to be in Ubuntu

Running "apt-cache search texlive" results in finding:

texlive-lang-arabic - TeX Live: Arabic

Installing it didn't change anything in LyX. Still no Article[Arabic]!

I guess we need ArabTex:
http://www2.informatik.uni-stuttgart.de/ivi/bs/research/arab_e.htm

In this I need help; I prefer to use Ubuntu's repositories unless it is
not possible at all.

> Try looking for a file called arabart.cls and see if you can find it in
> your system.
> Which platform are you on? Linux, Mac, Windows? Instructions for the
> installation of missing packages vary  depending on the platform.

Not sure what parastoo is using as his system but mine is as stated above.

> 
> Cheers,
> 
> Stefano
> 
> 
> On Tue, Feb 12, 2013 at 1:07 PM, Guy Rutenberg <guyrutenb...@gmail.com>wrote:
> 
>> Hi Parastoo,
>>
>> I've no experience using LyX with Arabic or Farsi, so I only guess. Have
>> you set the language correctly in Document->Settings->Language? At least
>> for Hebrew it's necessary.
>>
>> Regards,
>>
>> Guy
>>
>>
>> On 31 January 2013 00:05, Parastoo Mojabi <parastoo.moj...@gmail.com>wrote:
>>
>>>
>>>
>>> On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi <
>>> parastoo.moj...@gmail.com> wrote:
>>>
>>>> hi,
>>>>
>>>> hope you are doing great.
>>>>
>>>> I have difficulties making lyx in Farsi, I did as the internet saying,
>>>> but article[arabic] is un available in my document class, I paste
>>>> article-arabic.layout. every where but still doesnt work.
>>>> now my document is left to right which i wanted to be right to left and
>>>> the letters of arabic showing is wrong.
>>>>
>>>> please help me
>>>>
>>>> cheers


-- 
Sincerely Yours,
Merhebi, Bob

TB

Reply via email to