Re: lyx in arabic or persian

2013-05-31 Thread Parastoo Mojabi
Dear Uwe, Dear Scott

U r right, so many errors popped up. I couldnt compile the file you sent.

the truth is I found latex using texmaker much much more easier for me than
lyx.

thank you all for your helps

bests


On Thu, May 30, 2013 at 9:10 PM, Uwe Stöhr  wrote:

> Am 28.05.2013 08:06, schrieb Scott Kostyshak:
>
>
>  Parastoo, I use Ubuntu and could not get the file to compile with TeX
>> Live 2012 but with TeX Live 2013 it works without any modification. It
>> might be worth trying.
>>
>
> TeXLive's feature freeze was 2 days ago. A working version is expected in
> 2 weeks. Thus Parastoo, if you are not an experienced user of LaTeX, I
> recommend to wait until TeXLive 2013 was officially released.
>
> regards Uwe
>


Re: lyx in arabic or persian

2013-02-16 Thread Parastoo Mojabi
I think its wonderful to have http://wiki.lyx.org/Windows/Farsi

Is this possible?


On Sat, Feb 16, 2013 at 12:59 AM, Parastoo Mojabi  wrote:

>
> Dear Artimess,
>
> you are right, but there is no http://wiki.lyx.org/Windows/Farsi and I
> dont think I have the privilege to make one.
>
> I just thought about it usages for similar alphabet nations under one name.
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Sat, Feb 16, 2013 at 12:45 AM, Artimess  wrote:
>
>> From what I can say is Parastoo is an Iranian person or she belongs to
>> one of the nations that speak and write Farsi or a dialect of it.  Arabic
>> is not the language of Persians aka Iranians.
>> I think she should put her comments under
>> http://wiki.lyx.org/Windows/Farsi? <http://wiki.lyx.org/Windows/Arabic>
>> Parastoo you correct me if I am wrong!
>> Regards
>>
>>
>>
>> On Sat, Feb 16, 2013 at 9:37 AM, Scott Kostyshak 
>> wrote:
>>
>>> Hi Parastoo,
>>>
>>> Thanks for being willing to help.
>>>
>>> You can go to http://wiki.lyx.org/Windows/Arabic  (I don't know why
>>> "Windows" because it has stuff on Linux but we can reorganize this
>>> later) and then go to "Edit" at the top right. You are free to write
>>> any advice that you think is useful to future users.
>>>
>>> Scott
>>>
>>> On Sat, Feb 16, 2013 at 3:27 AM, Parastoo Mojabi
>>>  wrote:
>>> >
>>> >
>>> > hi Pavel,
>>> >
>>> > sorry, I'm newbie , I dont quite sure what you mean?
>>> > what should I do?
>>> >
>>> >
>>> >
>>> > On Fri, Feb 15, 2013 at 11:08 PM, Pavel Sanda  wrote:
>>> >>
>>> >> Parastoo Mojabi wrote:
>>> >> > Thank you so much Stefano, mine is working
>>> >>
>>> >> Please consider to
>>> >>
>>> >> add your Ubuntu recipy to LyX wiki with LyX & TeX versions...
>>> >> Pavel
>>> >
>>> >
>>>
>>
>>
>


Re: lyx in arabic or persian

2013-02-16 Thread Parastoo Mojabi
Dear Artimess,

you are right, but there is no http://wiki.lyx.org/Windows/Farsi and I dont
think I have the privilege to make one.

I just thought about it usages for similar alphabet nations under one name.













On Sat, Feb 16, 2013 at 12:45 AM, Artimess  wrote:

> From what I can say is Parastoo is an Iranian person or she belongs to one
> of the nations that speak and write Farsi or a dialect of it.  Arabic is
> not the language of Persians aka Iranians.
> I think she should put her comments under
> http://wiki.lyx.org/Windows/Farsi? <http://wiki.lyx.org/Windows/Arabic>
> Parastoo you correct me if I am wrong!
> Regards
>
>
>
> On Sat, Feb 16, 2013 at 9:37 AM, Scott Kostyshak 
> wrote:
>
>> Hi Parastoo,
>>
>> Thanks for being willing to help.
>>
>> You can go to http://wiki.lyx.org/Windows/Arabic  (I don't know why
>> "Windows" because it has stuff on Linux but we can reorganize this
>> later) and then go to "Edit" at the top right. You are free to write
>> any advice that you think is useful to future users.
>>
>> Scott
>>
>> On Sat, Feb 16, 2013 at 3:27 AM, Parastoo Mojabi
>>  wrote:
>> >
>> >
>> > hi Pavel,
>> >
>> > sorry, I'm newbie , I dont quite sure what you mean?
>> > what should I do?
>> >
>> >
>> >
>> > On Fri, Feb 15, 2013 at 11:08 PM, Pavel Sanda  wrote:
>> >>
>> >> Parastoo Mojabi wrote:
>> >> > Thank you so much Stefano, mine is working
>> >>
>> >> Please consider to
>> >>
>> >> add your Ubuntu recipy to LyX wiki with LyX & TeX versions...
>> >> Pavel
>> >
>> >
>>
>
>


Re: lyx in arabic or persian

2013-02-16 Thread Parastoo Mojabi
yes sure. I would be glad to do so

thank you

On Sat, Feb 16, 2013 at 12:37 AM, Scott Kostyshak wrote:

> Hi Parastoo,
>
> Thanks for being willing to help.
>
> You can go to http://wiki.lyx.org/Windows/Arabic  (I don't know why
> "Windows" because it has stuff on Linux but we can reorganize this
> later) and then go to "Edit" at the top right. You are free to write
> any advice that you think is useful to future users.
>
> Scott
>
> On Sat, Feb 16, 2013 at 3:27 AM, Parastoo Mojabi
>  wrote:
> >
> >
> > hi Pavel,
> >
> > sorry, I'm newbie , I dont quite sure what you mean?
> > what should I do?
> >
> >
> >
> > On Fri, Feb 15, 2013 at 11:08 PM, Pavel Sanda  wrote:
> >>
> >> Parastoo Mojabi wrote:
> >> > Thank you so much Stefano, mine is working
> >>
> >> Please consider to
> >>
> >> add your Ubuntu recipy to LyX wiki with LyX & TeX versions...
> >> Pavel
> >
> >
>


Re: lyx in arabic or persian

2013-02-16 Thread Parastoo Mojabi
hi Pavel,

sorry, I'm newbie , I dont quite sure what you mean?
what should I do?



On Fri, Feb 15, 2013 at 11:08 PM, Pavel Sanda  wrote:

> Parastoo Mojabi wrote:
> > Thank you so much Stefano, mine is working
>
> Please consider to

add your Ubuntu recipy to LyX wiki with LyX & TeX versions...
> Pavel
>


Re: lyx in arabic or persian

2013-02-13 Thread Parastoo Mojabi
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
wrote:

>
>
>
> On Wed, Feb 13, 2013 at 3:25 PM, Bob Merhebi  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
> .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
> 

Re: lyx in arabic or persian

2013-02-13 Thread Parastoo Mojabi
Thank you all for helping

Yup, I installed the texlive-lang-arabic from mint package installer.
arabic-article appeared in document after that I did as
http://forums.fedoraforum.org/showthread.php?t=268654
but I got a error while exporting pdf(flatex)

Some characters of your document are probably not representable in the
chosen encoding.

Changing the document encoding to utf8 could help.


My document encoding is unicode(utif8)


what should I change?

and  for reporting this email to forum what should I do?



thanks again




On Thu, Feb 14, 2013 at 1:20 AM, Ibrahim El Merehbi wrote:

> Actually upon further investigation, I found out:
>
> Tools > TeX Information > arabart.cls (is present)
>
> I "reconfigured" LyX & restarted it & there it was: Article[Arabic]
>
> BUT
>
> the problem that Scribus has is present in LyX.
>
> I am not sure which version it was, but I once tried writing in LyX in
> Arabic & it worked well. What I'm sure of is that it was running under
> Ubuntu 10.04 (x86)
>
> What do you think?
>
> On Wed 13 Feb 2013 11:25:54 PM EET, Bob Merhebi 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
> >
> >> 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  >wrote:
> >>
> >>> Hi Parastoo,
> >>>
> >>> I've no experience using LyX with Arabic or Farsi, so I only guess.
> Have
> >>> you set the language correctly in Docu

Re: lyx in arabic or persian

2013-01-30 Thread Parastoo Mojabi
On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi
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
>
>