Thank you so much Stefano, mine is working I installed texlive-lang-arabic reconfigured lyx then 1. Start LyX, then in Tools --> Preferences go to Language Settings and select Language. Change *Command start* to *\selectlanguage{arabic}*, and change *Language package* to Custom, and enter* \usepackage[farsi,arabic]{babel}* in the provided textfield.
2. Still in Tools --> Preferences, go to Output and select LaTeX, then change *Use LaTeX font encoding* to *LAE,LFE* in the provided textfield. 3. Still in Tools --> Preferences, go to Editing and under Keyboard/Mouse check the *Use keyboard map* option and for *First* select farsi from the *.kmap files that are shown when hitting the Browse button. 4. Hit the Save button in the Preferences window then restart LyX. 5. Once you've re-opened LyX, open a new document then go to Document --> Settings, and under *Document Class* select *article (Arabic)* from the list.. 6. Still in Document --> Settings, go to Language and select *Arabic (Arab TeX)* as the *Language*, then change *Encoding* to Other and select *Unicode (utf8)* as the encoding, then select *None* for the*Language package* option. 7. Hit the Apply button then close the Document Settings window 8. Now enter text in your document (which should be going from right to left now), save the file as a LyX file, then select File --> Export --> PDF (pdflatex). You should get a PDF with Arabic in it. and now its working. Thank you so much. On Thu, Feb 14, 2013 at 7:11 AM, stefano franchi <stefano.fran...@gmail.com>wrote: > > > > On Wed, Feb 13, 2013 at 3:25 PM, Bob Merhebi <bobmerh...@gmail.com> wrote: > >> 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 >> >> > Cannot help here. I'm aware of the complexities of Arabic script, but I > have no means to check if lyx (or, rather, Tex) gets it right. Sorry. > > >> > 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) >> >> 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 >> >> > This is a problem with Ubuntu (and Mint, which is Ubuntu based). In fact > it is a problem with all Debian-based distros, as far as I know. The > problem is that their packaged version of tex are: > > (1) Broken up in several packages, and the user often does not know which > are required ofr the task at hand > > (2) Often well behind officially distributed versions. (When I stopped > using Ubuntu it was 2 years behind.) > > My, very personal, recommendation is to stop using the Ubuntu-packaged > version of tex and install manually Texlive instead. It used to be a > complicated to manage your own Tex installation. Now that Texlive comes > with its own distribution manager (called tlmgr --- tex live manager), it > is much simpler > However, I do understand that other users may have different preferences, > > > >> Installing it didn't change anything in LyX. Still no Article[Arabic]! >> > > > Every time you install a new latex package you need to reconfigure Lyx and > restart it. Otherwise Lyx cannot use the newly installed package. > > > >> 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. >> > > > Arabtex should be in the package you installed: > texlive-lang-arab<http://packages.ubuntu.com/hardy/texlive-lang-arab> > .Otherwise, you can install it from CTAN: > > http://www.ctan.org/tex-archive/language/arabtex > > (Or with the tex manager I mentioned above if you switch to your own > texlive installation). > > If you install it manually, remember that you must run texhash as a > superuser afterwards. That is, you must open a terminal window and type the > command > sudo texhash > > > > > 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. >> >> > His system is Linux Mint, which is similar to Ubuntu. Hence he has the > same problem as your. > > > Cheers, > > Stefano > > > > -- > __________________________________________________ > Stefano Franchi > Associate Research Professor > Department of Hispanic Studies Ph: +1 (979) 845-2125 > Texas A&M University Fax: +1 (979) 845-6421 > College Station, Texas, USA > > stef...@tamu.edu > http://stefano.cleinias.org >