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 uwesto...@web.de 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-05-31 Thread Scott Kostyshak
On Fri, May 31, 2013 at 1:16 PM, Parastoo Mojabi
parastoo.moj...@gmail.com wrote:
 the truth is I found latex using texmaker much much more easier for me than
 lyx.

This is good to know. Can you send us a .tex file that shows what
worked for you in Texmaker? This will help us see what settings are
necessary for Farsi to work on TeX Live 2012 and Mint.

Scott


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 uwesto...@web.de 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-05-31 Thread Scott Kostyshak
On Fri, May 31, 2013 at 1:16 PM, Parastoo Mojabi
parastoo.moj...@gmail.com wrote:
 the truth is I found latex using texmaker much much more easier for me than
 lyx.

This is good to know. Can you send us a .tex file that shows what
worked for you in Texmaker? This will help us see what settings are
necessary for Farsi to work on TeX Live 2012 and Mint.

Scott


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-05-31 Thread Scott Kostyshak
On Fri, May 31, 2013 at 1:16 PM, Parastoo Mojabi
 wrote:
> the truth is I found latex using texmaker much much more easier for me than
> lyx.

This is good to know. Can you send us a .tex file that shows what
worked for you in Texmaker? This will help us see what settings are
necessary for Farsi to work on TeX Live 2012 and Mint.

Scott


Re: lyx in arabic or persian

2013-05-30 Thread Uwe Stöhr

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-05-30 Thread Uwe Stöhr

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-05-30 Thread Uwe Stöhr

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-05-28 Thread Scott Kostyshak
On Sun, May 26, 2013 at 12:43 PM, Uwe Stöhr uwesto...@web.de wrote:
 On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi
 parastoo.moj...@gmail.comwrote:


 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.

 Hello Parastoo,

 where have you read that you should use article[arabic] as document class
 for Farsi. Doing this can break the compilation.

 In our Wiki we have a recipe what you need to to to get Farsi to work:
 http://wiki.lyx.org/Windows/Farsi

 (Unfortunately the Ubuntu section there is incorrect because it describes a
 nasty hack.)
 The clean solution is to install the LaTeX-package arabi to your LaTeX
 distribution. This is in fact the only thing you need to do because LyX does
 then the rest for you.

 Attached if the Farsi LyX welcome file. Can you compile it?

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.

Scott


Re: lyx in arabic or persian

2013-05-28 Thread Scott Kostyshak
On Sun, May 26, 2013 at 12:43 PM, Uwe Stöhr uwesto...@web.de wrote:
 On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi
 parastoo.moj...@gmail.comwrote:


 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.

 Hello Parastoo,

 where have you read that you should use article[arabic] as document class
 for Farsi. Doing this can break the compilation.

 In our Wiki we have a recipe what you need to to to get Farsi to work:
 http://wiki.lyx.org/Windows/Farsi

 (Unfortunately the Ubuntu section there is incorrect because it describes a
 nasty hack.)
 The clean solution is to install the LaTeX-package arabi to your LaTeX
 distribution. This is in fact the only thing you need to do because LyX does
 then the rest for you.

 Attached if the Farsi LyX welcome file. Can you compile it?

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.

Scott


Re: lyx in arabic or persian

2013-05-28 Thread Scott Kostyshak
On Sun, May 26, 2013 at 12:43 PM, Uwe Stöhr  wrote:
> On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi
> wrote:
>
>
>> 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.
>
> Hello Parastoo,
>
> where have you read that you should use article[arabic] as document class
> for Farsi. Doing this can break the compilation.
>
> In our Wiki we have a recipe what you need to to to get Farsi to work:
> http://wiki.lyx.org/Windows/Farsi
>
> (Unfortunately the Ubuntu section there is incorrect because it describes a
> nasty hack.)
> The clean solution is to install the LaTeX-package "arabi" to your LaTeX
> distribution. This is in fact the only thing you need to do because LyX does
> then the rest for you.
>
> Attached if the Farsi LyX welcome file. Can you compile it?

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.

Scott


Re: lyx in arabic or persian

2013-05-26 Thread Uwe Stöhr

On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi 
parastoo.moj...@gmail.comwrote:

 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.

Hello Parastoo,

where have you read that you should use article[arabic] as document class for Farsi. Doing this can 
break the compilation.


In our Wiki we have a recipe what you need to to to get Farsi to work:
http://wiki.lyx.org/Windows/Farsi

(Unfortunately the Ubuntu section there is incorrect because it describes a 
nasty hack.)
The clean solution is to install the LaTeX-package arabi to your LaTeX distribution. This is in 
fact the only thing you need to do because LyX does then the rest for you.


Attached if the Farsi LyX welcome file. Can you compile it?

regards Uwe


splash.lyx
Description: application/lyx


Re: lyx in arabic or persian

2013-05-26 Thread Uwe Stöhr

On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi 
parastoo.moj...@gmail.comwrote:

 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.

Hello Parastoo,

where have you read that you should use article[arabic] as document class for Farsi. Doing this can 
break the compilation.


In our Wiki we have a recipe what you need to to to get Farsi to work:
http://wiki.lyx.org/Windows/Farsi

(Unfortunately the Ubuntu section there is incorrect because it describes a 
nasty hack.)
The clean solution is to install the LaTeX-package arabi to your LaTeX distribution. This is in 
fact the only thing you need to do because LyX does then the rest for you.


Attached if the Farsi LyX welcome file. Can you compile it?

regards Uwe


splash.lyx
Description: application/lyx


Re: lyx in arabic or persian

2013-05-26 Thread Uwe Stöhr

On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi 
wrote:

> 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.

Hello Parastoo,

where have you read that you should use article[arabic] as document class for Farsi. Doing this can 
break the compilation.


In our Wiki we have a recipe what you need to to to get Farsi to work:
http://wiki.lyx.org/Windows/Farsi

(Unfortunately the Ubuntu section there is incorrect because it describes a 
nasty hack.)
The clean solution is to install the LaTeX-package "arabi" to your LaTeX distribution. This is in 
fact the only thing you need to do because LyX does then the rest for you.


Attached if the Farsi LyX welcome file. Can you compile it?

regards Uwe


splash.lyx
Description: application/lyx


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 sa...@lyx.org 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 Scott Kostyshak
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
parastoo.moj...@gmail.com 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 sa...@lyx.org 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 skost...@princeton.eduwrote:

 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
 parastoo.moj...@gmail.com 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 sa...@lyx.org 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 Artimess
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 skost...@princeton.eduwrote:

 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
 parastoo.moj...@gmail.com 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 sa...@lyx.org 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 artim...@gmail.com 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 
 skost...@princeton.eduwrote:

 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
 parastoo.moj...@gmail.com 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 sa...@lyx.org 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
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 parastoo.moj...@gmail.com
 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 artim...@gmail.com 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 
 skost...@princeton.eduwrote:

 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
 parastoo.moj...@gmail.com 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 sa...@lyx.org 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 Scott Kostyshak
On Sat, Feb 16, 2013 at 3:45 AM, Artimess artim...@gmail.com 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?
 Parastoo you correct me if I am wrong!
 Regards

Thanks, Artimess. It would be nice to organize the wiki such that
support for languages is better. For example, there are similarities
between how a language is supported on Windows and on Linux and there
are similarities between support for languages that are written right
to left. Hopefully someday things will be organized.

Scott


Re: lyx in arabic or persian

2013-02-16 Thread Scott Kostyshak
On Sat, Feb 16, 2013 at 4:04 AM, Parastoo Mojabi
parastoo.moj...@gmail.com wrote:


 I think its wonderful to have http://wiki.lyx.org/Windows/Farsi

 Is this possible?

The page shows up for me. What output do you get?

Scott


Re: lyx in arabic or persian

2013-02-16 Thread Scott Kostyshak
On Sat, Feb 16, 2013 at 4:19 AM, Scott Kostyshak skost...@princeton.edu wrote:
 On Sat, Feb 16, 2013 at 4:04 AM, Parastoo Mojabi
 parastoo.moj...@gmail.com wrote:


 I think its wonderful to have http://wiki.lyx.org/Windows/Farsi

 Is this possible?

 The page shows up for me. What output do you get?

 Scott

It looks great Parastoo.

Thanks,

Scott


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 sa...@lyx.org 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 Scott Kostyshak
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
parastoo.moj...@gmail.com 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 sa...@lyx.org 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 skost...@princeton.eduwrote:

 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
 parastoo.moj...@gmail.com 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 sa...@lyx.org 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 Artimess
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 skost...@princeton.eduwrote:

 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
 parastoo.moj...@gmail.com 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 sa...@lyx.org 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 artim...@gmail.com 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 
 skost...@princeton.eduwrote:

 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
 parastoo.moj...@gmail.com 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 sa...@lyx.org 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
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 parastoo.moj...@gmail.com
 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 artim...@gmail.com 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 
 skost...@princeton.eduwrote:

 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
 parastoo.moj...@gmail.com 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 sa...@lyx.org 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 Scott Kostyshak
On Sat, Feb 16, 2013 at 3:45 AM, Artimess artim...@gmail.com 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?
 Parastoo you correct me if I am wrong!
 Regards

Thanks, Artimess. It would be nice to organize the wiki such that
support for languages is better. For example, there are similarities
between how a language is supported on Windows and on Linux and there
are similarities between support for languages that are written right
to left. Hopefully someday things will be organized.

Scott


Re: lyx in arabic or persian

2013-02-16 Thread Scott Kostyshak
On Sat, Feb 16, 2013 at 4:04 AM, Parastoo Mojabi
parastoo.moj...@gmail.com wrote:


 I think its wonderful to have http://wiki.lyx.org/Windows/Farsi

 Is this possible?

The page shows up for me. What output do you get?

Scott


Re: lyx in arabic or persian

2013-02-16 Thread Scott Kostyshak
On Sat, Feb 16, 2013 at 4:19 AM, Scott Kostyshak skost...@princeton.edu wrote:
 On Sat, Feb 16, 2013 at 4:04 AM, Parastoo Mojabi
 parastoo.moj...@gmail.com wrote:


 I think its wonderful to have http://wiki.lyx.org/Windows/Farsi

 Is this possible?

 The page shows up for me. What output do you get?

 Scott

It looks great Parastoo.

Thanks,

Scott


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-16 Thread Scott Kostyshak
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 Artimess
>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?
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? 
> 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
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? 
>> 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 Scott Kostyshak
On Sat, Feb 16, 2013 at 3: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?
> Parastoo you correct me if I am wrong!
> Regards

Thanks, Artimess. It would be nice to organize the wiki such that
support for languages is better. For example, there are similarities
between how a language is supported on Windows and on Linux and there
are similarities between support for languages that are written right
to left. Hopefully someday things will be organized.

Scott


Re: lyx in arabic or persian

2013-02-16 Thread Scott Kostyshak
On Sat, Feb 16, 2013 at 4:04 AM, Parastoo Mojabi
 wrote:
>
>
> I think its wonderful to have http://wiki.lyx.org/Windows/Farsi
>
> Is this possible?

The page shows up for me. What output do you get?

Scott


Re: lyx in arabic or persian

2013-02-16 Thread Scott Kostyshak
On Sat, Feb 16, 2013 at 4:19 AM, Scott Kostyshak  wrote:
> On Sat, Feb 16, 2013 at 4:04 AM, Parastoo Mojabi
>  wrote:
>>
>>
>> I think its wonderful to have http://wiki.lyx.org/Windows/Farsi
>>
>> Is this possible?
>
> The page shows up for me. What output do you get?
>
> Scott

It looks great Parastoo.

Thanks,

Scott


Re: lyx in arabic or persian

2013-02-15 Thread Pavel Sanda
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-15 Thread Pavel Sanda
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-15 Thread Pavel Sanda
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-14 Thread Bob Merhebi
On Thu 14 Feb 2013 05:53:30 AM EET, Parastoo Mojabi wrote:
 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.comwrote:




 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-arabhttp://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



 --
 

Re: lyx in arabic or persian

2013-02-14 Thread Guenter Milde
On 2013-02-14, stefano franchi wrote:
 On Wed, Feb 13, 2013 at 3:25 PM, Bob Merhebi bobmerh...@gmail.com wrote:

...

 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

A handy tool in this case is `apt-file` that allows a regular expression
search to find which package(s) provide a given file.

 (2) Often well behind officially distributed versions. (When I stopped
 using Ubuntu it was 2 years behind.)

This is solved in Debian/testing and Ubuntu which come now with TeXLive 2012
(and saved me the transition to a locally installed TeXLive).

Günter



Re: lyx in arabic or persian

2013-02-14 Thread stefano franchi
On Thu, Feb 14, 2013 at 5:39 AM, Bob Merhebi bobmerh...@gmail.com wrote:

 On Thu 14 Feb 2013 05:53:30 AM EET, Parastoo Mojabi wrote:
  Thank you so much Stefano, mine is working
 
 Stefano: Can't these settings be integrated into a single-button LyX
 option?


Well, there seem to be two separate issues:

1. Having a linux/Tex installation that includes proper support for Arabic
editing

2. Configuring Lyx properly to take advantage of the properly set up Tex
system.


I don't think (1) can be automated by Lyx/Linux. Lyx expect a properly
configured system and it does not have the means to automatically install
missing packages (as MikTeX does on Windows).

As for (2), have you tried saving a template with all the proper settings?
That is, once you have a document that works in Lyx the way you want it,
delete all the text and save it as a template. From that moment on you can
choose New from template when starting a new Arabic document.

I am not sure all the settings would be saved though. Others may know more
about this.



 I'll look more about tlmgr to see how it interacts with the Ubuntu
 system, if at all. I guess it is similar to Python's easy_install. If
 you've got some references about it (related to Debian/Ubuntu), kindly
 let me know.



As Gunter reports in his message, Ubuntu seems to have solved its problems
with Texlive.

So I guess the apt-file tool is all you need.


 Moreover, do you guys mind if I made a blog post about this?



Surely not. I would also suggest checking the lyx wiki page for Arabic and
updating if it does not reflect your experience.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: lyx in arabic or persian

2013-02-14 Thread Bob Merhebi
Thanks, I'll try that.

On Thu 14 Feb 2013 05:49:25 PM EET, stefano franchi wrote:
 On Thu, Feb 14, 2013 at 5:39 AM, Bob Merhebi bobmerh...@gmail.com wrote:

 On Thu 14 Feb 2013 05:53:30 AM EET, Parastoo Mojabi wrote:
 Thank you so much Stefano, mine is working

 Stefano: Can't these settings be integrated into a single-button LyX
 option?


 Well, there seem to be two separate issues:

 1. Having a linux/Tex installation that includes proper support for Arabic
 editing

 2. Configuring Lyx properly to take advantage of the properly set up Tex
 system.


 I don't think (1) can be automated by Lyx/Linux. Lyx expect a properly
 configured system and it does not have the means to automatically install
 missing packages (as MikTeX does on Windows).

 As for (2), have you tried saving a template with all the proper settings?
 That is, once you have a document that works in Lyx the way you want it,
 delete all the text and save it as a template. From that moment on you can
 choose New from template when starting a new Arabic document.

 I am not sure all the settings would be saved though. Others may know more
 about this.



 I'll look more about tlmgr to see how it interacts with the Ubuntu
 system, if at all. I guess it is similar to Python's easy_install. If
 you've got some references about it (related to Debian/Ubuntu), kindly
 let me know.



 As Gunter reports in his message, Ubuntu seems to have solved its problems
 with Texlive.

 So I guess the apt-file tool is all you need.


 Moreover, do you guys mind if I made a blog post about this?



 Surely not. I would also suggest checking the lyx wiki page for Arabic and
 updating if it does not reflect your experience.

 Cheers,

 Stefano



-- 
Sincerely Yours,
Merhebi, Bob

TB


Re: lyx in arabic or persian

2013-02-14 Thread Bob Merhebi
On Thu 14 Feb 2013 05:53:30 AM EET, Parastoo Mojabi wrote:
 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.comwrote:




 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-arabhttp://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



 --
 

Re: lyx in arabic or persian

2013-02-14 Thread Guenter Milde
On 2013-02-14, stefano franchi wrote:
 On Wed, Feb 13, 2013 at 3:25 PM, Bob Merhebi bobmerh...@gmail.com wrote:

...

 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

A handy tool in this case is `apt-file` that allows a regular expression
search to find which package(s) provide a given file.

 (2) Often well behind officially distributed versions. (When I stopped
 using Ubuntu it was 2 years behind.)

This is solved in Debian/testing and Ubuntu which come now with TeXLive 2012
(and saved me the transition to a locally installed TeXLive).

Günter



Re: lyx in arabic or persian

2013-02-14 Thread stefano franchi
On Thu, Feb 14, 2013 at 5:39 AM, Bob Merhebi bobmerh...@gmail.com wrote:

 On Thu 14 Feb 2013 05:53:30 AM EET, Parastoo Mojabi wrote:
  Thank you so much Stefano, mine is working
 
 Stefano: Can't these settings be integrated into a single-button LyX
 option?


Well, there seem to be two separate issues:

1. Having a linux/Tex installation that includes proper support for Arabic
editing

2. Configuring Lyx properly to take advantage of the properly set up Tex
system.


I don't think (1) can be automated by Lyx/Linux. Lyx expect a properly
configured system and it does not have the means to automatically install
missing packages (as MikTeX does on Windows).

As for (2), have you tried saving a template with all the proper settings?
That is, once you have a document that works in Lyx the way you want it,
delete all the text and save it as a template. From that moment on you can
choose New from template when starting a new Arabic document.

I am not sure all the settings would be saved though. Others may know more
about this.



 I'll look more about tlmgr to see how it interacts with the Ubuntu
 system, if at all. I guess it is similar to Python's easy_install. If
 you've got some references about it (related to Debian/Ubuntu), kindly
 let me know.



As Gunter reports in his message, Ubuntu seems to have solved its problems
with Texlive.

So I guess the apt-file tool is all you need.


 Moreover, do you guys mind if I made a blog post about this?



Surely not. I would also suggest checking the lyx wiki page for Arabic and
updating if it does not reflect your experience.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: lyx in arabic or persian

2013-02-14 Thread Bob Merhebi
Thanks, I'll try that.

On Thu 14 Feb 2013 05:49:25 PM EET, stefano franchi wrote:
 On Thu, Feb 14, 2013 at 5:39 AM, Bob Merhebi bobmerh...@gmail.com wrote:

 On Thu 14 Feb 2013 05:53:30 AM EET, Parastoo Mojabi wrote:
 Thank you so much Stefano, mine is working

 Stefano: Can't these settings be integrated into a single-button LyX
 option?


 Well, there seem to be two separate issues:

 1. Having a linux/Tex installation that includes proper support for Arabic
 editing

 2. Configuring Lyx properly to take advantage of the properly set up Tex
 system.


 I don't think (1) can be automated by Lyx/Linux. Lyx expect a properly
 configured system and it does not have the means to automatically install
 missing packages (as MikTeX does on Windows).

 As for (2), have you tried saving a template with all the proper settings?
 That is, once you have a document that works in Lyx the way you want it,
 delete all the text and save it as a template. From that moment on you can
 choose New from template when starting a new Arabic document.

 I am not sure all the settings would be saved though. Others may know more
 about this.



 I'll look more about tlmgr to see how it interacts with the Ubuntu
 system, if at all. I guess it is similar to Python's easy_install. If
 you've got some references about it (related to Debian/Ubuntu), kindly
 let me know.



 As Gunter reports in his message, Ubuntu seems to have solved its problems
 with Texlive.

 So I guess the apt-file tool is all you need.


 Moreover, do you guys mind if I made a blog post about this?



 Surely not. I would also suggest checking the lyx wiki page for Arabic and
 updating if it does not reflect your experience.

 Cheers,

 Stefano



-- 
Sincerely Yours,
Merhebi, Bob

TB


Re: lyx in arabic or persian

2013-02-14 Thread Bob Merhebi
On Thu 14 Feb 2013 05:53:30 AM EET, Parastoo Mojabi wrote:
> 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 

Re: lyx in arabic or persian

2013-02-14 Thread Guenter Milde
On 2013-02-14, stefano franchi wrote:
> On Wed, Feb 13, 2013 at 3:25 PM, Bob Merhebi  wrote:

...

>> 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

A handy tool in this case is `apt-file` that allows a regular expression
search to find which package(s) provide a given file.

> (2) Often well behind officially distributed versions. (When I stopped
> using Ubuntu it was 2 years behind.)

This is solved in Debian/testing and Ubuntu which come now with TeXLive 2012
(and saved me the transition to a locally installed TeXLive).

Günter



Re: lyx in arabic or persian

2013-02-14 Thread stefano franchi
On Thu, Feb 14, 2013 at 5:39 AM, Bob Merhebi  wrote:

> On Thu 14 Feb 2013 05:53:30 AM EET, Parastoo Mojabi wrote:
> > Thank you so much Stefano, mine is working
> >
> Stefano: Can't these settings be integrated into a single-button LyX
> option?
>
>
Well, there seem to be two separate issues:

1. Having a linux/Tex installation that includes proper support for Arabic
editing

2. Configuring Lyx properly to take advantage of the properly set up Tex
system.


I don't think (1) can be automated by Lyx/Linux. Lyx expect a properly
configured system and it does not have the means to automatically install
missing packages (as MikTeX does on Windows).

As for (2), have you tried saving a template with all the proper settings?
That is, once you have a document that works in Lyx the way you want it,
delete all the text and save it as a template. From that moment on you can
choose "New from template" when starting a new Arabic document.

I am not sure all the settings would be saved though. Others may know more
about this.



> I'll look more about tlmgr to see how it interacts with the Ubuntu
> system, if at all. I guess it is similar to Python's easy_install. If
> you've got some references about it (related to Debian/Ubuntu), kindly
> let me know.
>
>

As Gunter reports in his message, Ubuntu seems to have solved its problems
with Texlive.

So I guess the apt-file tool is all you need.


> Moreover, do you guys mind if I made a blog post about this?
>
>

Surely not. I would also suggest checking the lyx wiki page for Arabic and
updating if it does not reflect your experience.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: lyx in arabic or persian

2013-02-14 Thread Bob Merhebi
Thanks, I'll try that.

On Thu 14 Feb 2013 05:49:25 PM EET, stefano franchi wrote:
> On Thu, Feb 14, 2013 at 5:39 AM, Bob Merhebi  wrote:
>
>> On Thu 14 Feb 2013 05:53:30 AM EET, Parastoo Mojabi wrote:
>>> Thank you so much Stefano, mine is working
>>>
>> Stefano: Can't these settings be integrated into a single-button LyX
>> option?
>>
>>
> Well, there seem to be two separate issues:
>
> 1. Having a linux/Tex installation that includes proper support for Arabic
> editing
>
> 2. Configuring Lyx properly to take advantage of the properly set up Tex
> system.
>
>
> I don't think (1) can be automated by Lyx/Linux. Lyx expect a properly
> configured system and it does not have the means to automatically install
> missing packages (as MikTeX does on Windows).
>
> As for (2), have you tried saving a template with all the proper settings?
> That is, once you have a document that works in Lyx the way you want it,
> delete all the text and save it as a template. From that moment on you can
> choose "New from template" when starting a new Arabic document.
>
> I am not sure all the settings would be saved though. Others may know more
> about this.
>
>
>
>> I'll look more about tlmgr to see how it interacts with the Ubuntu
>> system, if at all. I guess it is similar to Python's easy_install. If
>> you've got some references about it (related to Debian/Ubuntu), kindly
>> let me know.
>>
>>
>
> As Gunter reports in his message, Ubuntu seems to have solved its problems
> with Texlive.
>
> So I guess the apt-file tool is all you need.
>
>
>> Moreover, do you guys mind if I made a blog post about this?
>>
>>
>
> Surely not. I would also suggest checking the lyx wiki page for Arabic and
> updating if it does not reflect your experience.
>
> Cheers,
>
> Stefano
>


-- 
Sincerely Yours,
Merhebi, Bob

TB


Re: lyx in arabic or persian

2013-02-13 Thread Bob Merhebi
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 DocumentSettingsLanguage, 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 DocumentSettings 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.comwrote:
 
 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.comwrote:



 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


Re: lyx in arabic or persian

2013-02-13 Thread Ibrahim El Merehbi
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 DocumentSettingsLanguage, 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 DocumentSettings 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.comwrote:

 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.comwrote:



 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,
El Merehbi, Ibrahim

TB



Re: lyx in arabic or persian

2013-02-13 Thread stefano franchi
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-arabhttp://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 StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


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 bobmerh...@gmail.comwrote:

 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 DocumentSettingsLanguage, 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 DocumentSettings 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,
 El Merehbi, Ibrahim

 TB




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
stefano.fran...@gmail.comwrote:




 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-arabhttp://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 

Re: lyx in arabic or persian

2013-02-13 Thread Bob Merhebi
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 DocumentSettingsLanguage, 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 DocumentSettings 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.comwrote:
 
 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.comwrote:



 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


Re: lyx in arabic or persian

2013-02-13 Thread Ibrahim El Merehbi
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 DocumentSettingsLanguage, 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 DocumentSettings 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.comwrote:

 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.comwrote:



 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,
El Merehbi, Ibrahim

TB



Re: lyx in arabic or persian

2013-02-13 Thread stefano franchi
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-arabhttp://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 StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


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 bobmerh...@gmail.comwrote:

 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 DocumentSettingsLanguage, 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 DocumentSettings 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,
 El Merehbi, Ibrahim

 TB




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
stefano.fran...@gmail.comwrote:




 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-arabhttp://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 

Re: lyx in arabic or persian

2013-02-13 Thread Bob Merhebi
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 Document->Settings->Language? At least
>> for Hebrew it's necessary.
>>
>> Regards,
>>
>> Guy
>>
>>
>> On 31 January 2013 00:05, Parastoo Mojabi 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


Re: lyx in arabic or persian

2013-02-13 Thread Ibrahim El Merehbi
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 Document->Settings->Language? At least
>>> for Hebrew it's necessary.
>>>
>>> Regards,
>>>
>>> Guy
>>>
>>>
>>> On 31 January 2013 00:05, Parastoo Mojabi 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,
El Merehbi, Ibrahim

TB



Re: lyx in arabic or persian

2013-02-13 Thread stefano franchi
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 same
problem as your.


Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


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 Document->Settings->Language? At
> least
> >>> for Hebrew it's necessary.
> >>>
> >>> Regards,
> >>>
> >>> Guy
> >>>
> >>>
> >>> On 31 January 2013 00:05, Parastoo Mojabi  >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
> >

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 

Re: lyx in arabic or persian

2013-02-12 Thread Guy Rutenberg
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





Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
I have no knowledge of Arabic, unfortunately, but following the
instructions on the wiki seems to work for me, including right-to-left
typing:
http://wiki.lyx.org/Windows/Arabic
It requires:

1. Setting the document class to Article(Arabic)
2. Choosing Arabic from DocumentSettingsLanguage, 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 DocumentSettings dropdown menu,
there may be something missing in your latex installation. 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

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
.

Cheers,

Stefano


On Tue, Feb 12, 2013 at 1:07 PM, Guy Rutenberg guyrutenb...@gmail.comwrote:

 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.comwrote:



 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






-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
On Tue, Feb 12, 2013 at 9:04 PM, Parastoo Mojabi
parastoo.moj...@gmail.comwrote:

Dear stefano

Thank you for the answer.  I have linux mint 14 nadia 64 bit ,I dont have
any arabic article in my document drop down list.
nether there is no folder called texlive in my computer.

I installed version 2.0.3 of lyx which is working fine for english.

May be I should change the version?


Dear Parastoo,

the problem is your tex installation, not lyx. You said lyx works fine for
English. I take it you mean you can BOTH write in lyx and produce pdf
output, right? If so, you must have a version of (La)TeX installed and
working and you are probably just missing the arabart class. Try this:

First, find out if you have arabart.cls on your system. Open a terminal
window and type:

kpsewhich arabart.cls

You should get back a pathname indicating where arabart is installed. If
you get nothing back, then you don't have it installed and need to update
your tex installation (see below). If you do get a path back (I get
/usr/local/texlive/2012/texmf-dist/tex/latex/arabtex/arabart.cls but I use
Archlinux, not Mint), then you just need to reconfigure Lyx with
ToolsReconfigure , close it and restart it.

If you do not have arabart.cls installed:

You need to upgrade/extend your tex installation and how to do so depends
on how you installed it in the first place. Linux Mint is a
Ubuntu-derivative. Did  you use Mint's package installer? If so, go to the
package installer again, and check that you have installed a package called
texlive-lang-arab . That is what you need. If it is not installed, install
it, then reconfigure lyx as described above and you should be ready to go.

If, instead, you did not use Mint's package installer and installed texlive
from their DVD or online from ctan.org, you should use your texlive package
manager. Open a terminal window, type:

tlmgr  --gui

you have an installer for tex packages only. Search for arabtex and install
it, then reconficure lyx and restart it.

Please report back---and address the message to the list, so other people
can benefit as well.

Cheers,


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: lyx in arabic or persian

2013-02-12 Thread Guy Rutenberg
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





Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
I have no knowledge of Arabic, unfortunately, but following the
instructions on the wiki seems to work for me, including right-to-left
typing:
http://wiki.lyx.org/Windows/Arabic
It requires:

1. Setting the document class to Article(Arabic)
2. Choosing Arabic from DocumentSettingsLanguage, 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 DocumentSettings dropdown menu,
there may be something missing in your latex installation. 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

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
.

Cheers,

Stefano


On Tue, Feb 12, 2013 at 1:07 PM, Guy Rutenberg guyrutenb...@gmail.comwrote:

 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.comwrote:



 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






-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
On Tue, Feb 12, 2013 at 9:04 PM, Parastoo Mojabi
parastoo.moj...@gmail.comwrote:

Dear stefano

Thank you for the answer.  I have linux mint 14 nadia 64 bit ,I dont have
any arabic article in my document drop down list.
nether there is no folder called texlive in my computer.

I installed version 2.0.3 of lyx which is working fine for english.

May be I should change the version?


Dear Parastoo,

the problem is your tex installation, not lyx. You said lyx works fine for
English. I take it you mean you can BOTH write in lyx and produce pdf
output, right? If so, you must have a version of (La)TeX installed and
working and you are probably just missing the arabart class. Try this:

First, find out if you have arabart.cls on your system. Open a terminal
window and type:

kpsewhich arabart.cls

You should get back a pathname indicating where arabart is installed. If
you get nothing back, then you don't have it installed and need to update
your tex installation (see below). If you do get a path back (I get
/usr/local/texlive/2012/texmf-dist/tex/latex/arabtex/arabart.cls but I use
Archlinux, not Mint), then you just need to reconfigure Lyx with
ToolsReconfigure , close it and restart it.

If you do not have arabart.cls installed:

You need to upgrade/extend your tex installation and how to do so depends
on how you installed it in the first place. Linux Mint is a
Ubuntu-derivative. Did  you use Mint's package installer? If so, go to the
package installer again, and check that you have installed a package called
texlive-lang-arab . That is what you need. If it is not installed, install
it, then reconfigure lyx as described above and you should be ready to go.

If, instead, you did not use Mint's package installer and installed texlive
from their DVD or online from ctan.org, you should use your texlive package
manager. Open a terminal window, type:

tlmgr  --gui

you have an installer for tex packages only. Search for arabtex and install
it, then reconficure lyx and restart it.

Please report back---and address the message to the list, so other people
can benefit as well.

Cheers,


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: lyx in arabic or persian

2013-02-12 Thread Guy Rutenberg
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  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
>>
>>
>


Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
I have no knowledge of Arabic, unfortunately, but following the
instructions on the wiki seems to work for me, including right-to-left
typing:
http://wiki.lyx.org/Windows/Arabic
It requires:

1. Setting the document class to Article(Arabic)
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
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

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
.

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 Document->Settings->Language? At least
> for Hebrew it's necessary.
>
> Regards,
>
> Guy
>
>
> On 31 January 2013 00:05, Parastoo Mojabi 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
>>>
>>>
>>
>


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
On Tue, Feb 12, 2013 at 9:04 PM, Parastoo Mojabi
wrote:

Dear stefano

Thank you for the answer.  I have linux mint 14 nadia 64 bit ,I dont have
any arabic article in my document drop down list.
nether there is no folder called texlive in my computer.

I installed version 2.0.3 of lyx which is working fine for english.

May be I should change the version?


Dear Parastoo,

the problem is your tex installation, not lyx. You said lyx works fine for
English. I take it you mean you can BOTH write in lyx and produce pdf
output, right? If so, you must have a version of (La)TeX installed and
working and you are probably just missing the arabart class. Try this:

First, find out if you have arabart.cls on your system. Open a terminal
window and type:

kpsewhich arabart.cls

You should get back a pathname indicating where arabart is installed. If
you get nothing back, then you don't have it installed and need to update
your tex installation (see below). If you do get a path back (I get
/usr/local/texlive/2012/texmf-dist/tex/latex/arabtex/arabart.cls but I use
Archlinux, not Mint), then you just need to reconfigure Lyx with
Tools>>Reconfigure , close it and restart it.

If you do not have arabart.cls installed:

You need to upgrade/extend your tex installation and how to do so depends
on how you installed it in the first place. Linux Mint is a
Ubuntu-derivative. Did  you use Mint's package installer? If so, go to the
package installer again, and check that you have installed a package called
texlive-lang-arab . That is what you need. If it is not installed, install
it, then reconfigure lyx as described above and you should be ready to go.

If, instead, you did not use Mint's package installer and installed texlive
from their DVD or online from ctan.org, you should use your texlive package
manager. Open a terminal window, type:

tlmgr  --gui

you have an installer for tex packages only. Search for arabtex and install
it, then reconficure lyx and restart it.

Please report back---and address the message to the list, so other people
can benefit as well.

Cheers,


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: lyx in arabic or persian

2013-01-30 Thread Parastoo Mojabi
On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi
parastoo.moj...@gmail.comwrote:

 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




Re: lyx in arabic or persian

2013-01-30 Thread Parastoo Mojabi
On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi
parastoo.moj...@gmail.comwrote:

 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




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
>
>


Re: Configuring LyX for Arabic or Persian

2007-12-04 Thread amp3030

My LyX version is 1.5.1 (This is what Synaptic offered to me). I want to
write the entire document in Persian/Arabic. I followed exactly LyX's
official wiki for Arabic language. (Instructions for Persian were
incomplete.) I followed instructions for configuring Arabic in linux using
ArabTeX (I made bind file, etc). I can see some outputs, though very buggy.
But I cannot extend it to Persian (Farsi). What I really want is Persian,
not Arabic. Thanks again.

Related wiki pages can be found here:
http://wiki.lyx.org/Windows/Arabic
http://wiki.lyx.org/Windows/Farsi



Dov Feldstern wrote:
 
 
 Hi!
 
 Could you please provide a more information: specifically, what version 
 of LyX are you using? What is your default language set to, what is the 
 language of the current document? And what exactly are you trying to do: 
 write the entire document in Farsi/Arabic, just insert a word here or 
 there in an otherwise english document, or what?
 
 Dov
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Configuring-LyX-for-Arabic-or-Persian-tf4883614.html#a14157218
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Configuring LyX for Arabic or Persian

2007-12-04 Thread amp3030

My LyX version is 1.5.1 (This is what Synaptic offered to me). I want to
write the entire document in Persian/Arabic. I followed exactly LyX's
official wiki for Arabic language. (Instructions for Persian were
incomplete.) I followed instructions for configuring Arabic in linux using
ArabTeX (I made bind file, etc). I can see some outputs, though very buggy.
But I cannot extend it to Persian (Farsi). What I really want is Persian,
not Arabic. Thanks again.

Related wiki pages can be found here:
http://wiki.lyx.org/Windows/Arabic
http://wiki.lyx.org/Windows/Farsi



Dov Feldstern wrote:
 
 
 Hi!
 
 Could you please provide a more information: specifically, what version 
 of LyX are you using? What is your default language set to, what is the 
 language of the current document? And what exactly are you trying to do: 
 write the entire document in Farsi/Arabic, just insert a word here or 
 there in an otherwise english document, or what?
 
 Dov
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Configuring-LyX-for-Arabic-or-Persian-tf4883614.html#a14157218
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Configuring LyX for Arabic or Persian

2007-12-04 Thread amp3030

My LyX version is 1.5.1 (This is what Synaptic offered to me). I want to
write the entire document in Persian/Arabic. I followed exactly LyX's
official wiki for Arabic language. (Instructions for Persian were
incomplete.) I followed instructions for configuring Arabic in linux using
ArabTeX (I made bind file, etc). I can see some outputs, though very buggy.
But I cannot extend it to Persian (Farsi). What I really want is Persian,
not Arabic. Thanks again.

Related wiki pages can be found here:
http://wiki.lyx.org/Windows/Arabic
http://wiki.lyx.org/Windows/Farsi



Dov Feldstern wrote:
> 
> 
> Hi!
> 
> Could you please provide a more information: specifically, what version 
> of LyX are you using? What is your default language set to, what is the 
> language of the current document? And what exactly are you trying to do: 
> write the entire document in Farsi/Arabic, just insert a word here or 
> there in an otherwise english document, or what?
> 
> Dov
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Configuring-LyX-for-Arabic-or-Persian-tf4883614.html#a14157218
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Configuring LyX for Arabic or Persian

2007-12-01 Thread Dov Feldstern

amp3030 wrote:

Hi all,

I am trying to configure LyX to write in Persian (Farsi) or Arabic, but I
cannot do that. I have installed lyx on my ubuntu 7.10 system using
Synaptic. I have also installed texlive-lang-arab, texlive-extra-utils and
texlive-xetex packages.
I followed instructions of the official LyX wiki page carefully, but nothing
is gonna working.

When I use Farsi/Arabic (Arabi) as the language, an error message says: You
haven't defined the languafe farsi/arabic yet.

Can anyone help to resolve this?

Thanks in advance,
Masoud.


Hi!

Could you please provide a more information: specifically, what version 
of LyX are you using? What is your default language set to, what is the 
language of the current document? And what exactly are you trying to do: 
write the entire document in Farsi/Arabic, just insert a word here or 
there in an otherwise english document, or what?


Dov



Re: Configuring LyX for Arabic or Persian

2007-12-01 Thread Dov Feldstern

amp3030 wrote:

Hi all,

I am trying to configure LyX to write in Persian (Farsi) or Arabic, but I
cannot do that. I have installed lyx on my ubuntu 7.10 system using
Synaptic. I have also installed texlive-lang-arab, texlive-extra-utils and
texlive-xetex packages.
I followed instructions of the official LyX wiki page carefully, but nothing
is gonna working.

When I use Farsi/Arabic (Arabi) as the language, an error message says: You
haven't defined the languafe farsi/arabic yet.

Can anyone help to resolve this?

Thanks in advance,
Masoud.


Hi!

Could you please provide a more information: specifically, what version 
of LyX are you using? What is your default language set to, what is the 
language of the current document? And what exactly are you trying to do: 
write the entire document in Farsi/Arabic, just insert a word here or 
there in an otherwise english document, or what?


Dov



Re: Configuring LyX for Arabic or Persian

2007-12-01 Thread Dov Feldstern

amp3030 wrote:

Hi all,

I am trying to configure LyX to write in Persian (Farsi) or Arabic, but I
cannot do that. I have installed lyx on my ubuntu 7.10 system using
Synaptic. I have also installed texlive-lang-arab, texlive-extra-utils and
texlive-xetex packages.
I followed instructions of the official LyX wiki page carefully, but nothing
is gonna working.

When I use Farsi/Arabic (Arabi) as the language, an error message says: You
haven't defined the languafe farsi/arabic yet.

Can anyone help to resolve this?

Thanks in advance,
Masoud.


Hi!

Could you please provide a more information: specifically, what version 
of LyX are you using? What is your default language set to, what is the 
language of the current document? And what exactly are you trying to do: 
write the entire document in Farsi/Arabic, just insert a word here or 
there in an otherwise english document, or what?


Dov



Configuring LyX for Arabic or Persian

2007-11-27 Thread amp3030

Hi all,

I am trying to configure LyX to write in Persian (Farsi) or Arabic, but I
cannot do that. I have installed lyx on my ubuntu 7.10 system using
Synaptic. I have also installed texlive-lang-arab, texlive-extra-utils and
texlive-xetex packages.
I followed instructions of the official LyX wiki page carefully, but nothing
is gonna working.

When I use Farsi/Arabic (Arabi) as the language, an error message says: You
haven't defined the languafe farsi/arabic yet.

Can anyone help to resolve this?

Thanks in advance,
Masoud.
-- 
View this message in context: 
http://www.nabble.com/Configuring-LyX-for-Arabic-or-Persian-tf4883614.html#a13976894
Sent from the LyX - Users mailing list archive at Nabble.com.



Configuring LyX for Arabic or Persian

2007-11-27 Thread amp3030

Hi all,

I am trying to configure LyX to write in Persian (Farsi) or Arabic, but I
cannot do that. I have installed lyx on my ubuntu 7.10 system using
Synaptic. I have also installed texlive-lang-arab, texlive-extra-utils and
texlive-xetex packages.
I followed instructions of the official LyX wiki page carefully, but nothing
is gonna working.

When I use Farsi/Arabic (Arabi) as the language, an error message says: You
haven't defined the languafe farsi/arabic yet.

Can anyone help to resolve this?

Thanks in advance,
Masoud.
-- 
View this message in context: 
http://www.nabble.com/Configuring-LyX-for-Arabic-or-Persian-tf4883614.html#a13976894
Sent from the LyX - Users mailing list archive at Nabble.com.



Configuring LyX for Arabic or Persian

2007-11-27 Thread amp3030

Hi all,

I am trying to configure LyX to write in Persian (Farsi) or Arabic, but I
cannot do that. I have installed lyx on my ubuntu 7.10 system using
Synaptic. I have also installed texlive-lang-arab, texlive-extra-utils and
texlive-xetex packages.
I followed instructions of the official LyX wiki page carefully, but nothing
is gonna working.

When I use Farsi/Arabic (Arabi) as the language, an error message says: You
haven't defined the languafe farsi/arabic yet.

Can anyone help to resolve this?

Thanks in advance,
Masoud.
-- 
View this message in context: 
http://www.nabble.com/Configuring-LyX-for-Arabic-or-Persian-tf4883614.html#a13976894
Sent from the LyX - Users mailing list archive at Nabble.com.