Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Hans Hagen
On 8/7/2013 10:50 AM, Mingranina Gingranina wrote: Dear All, Hello, I am completely new to ConTeXt and after searching and exploring the ConTeXt Garden wiki pages and other resources thoroughly, I decided to write my first document in Persian which reads: \enableregime [utf-8]

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
Dear Hans, Hello, Thank you very much for your reply. With your code the Persian part disappears on my system unless I insert the following two lines after \definefontfeature: \usemodule[simplefonts] \setmainfont[arial][feature=persian] However the Persian characters still appears as

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
Dear Hans, Hello again, I just noticed that your code works fine with Dejavusans TrueType font, but not with some other TrueType fonts. Thanks, On 8/7/13, Mingranina Gingranina mingran...@gmail.com wrote: Dear Hans, Hello, Thank you very much for your reply. With your code the Persian part

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Hans Hagen
On 8/7/2013 2:38 PM, Mingranina Gingranina wrote: Dear Hans, Hello again, I just noticed that your code works fine with Dejavusans TrueType font, but not with some other TrueType fonts. in which case you use fonts that have no arabic shapes Hans

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Wolfgang Schuster
Am 07.08.2013 um 12:38 schrieb Mingranina Gingranina mingran...@gmail.com: Dear Hans, Hello, Thank you very much for your reply. With your code the Persian part disappears on my system unless I insert the following two lines after \definefontfeature: \usemodule[simplefonts]

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
On 8/7/13, Hans Hagen pra...@wxs.nl wrote: On 8/7/2013 2:38 PM, Mingranina Gingranina wrote: Dear Hans, Hello again, I just noticed that your code works fine with Dejavusans TrueType font, but not with some other TrueType fonts. in which case you use fonts that have no arabic shapes For

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Otared Kavian
Hi Mingranina, As Wolfgang said, if I fix the name of the key in \setmainfont (from « feature » to « features », see below), then your test works fine here (using Mac OS X 10.8.4, and ConTeXt ver: 2013.08.07 14:40 MKIV beta fmt: 2013.8.7). By the way in mkiv you don't need to add

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Pablo Rodríguez
On 08/07/2013 04:09 PM, Mingranina Gingranina wrote: [...] For TrueType fonts which are in the directory '/usr/share/fonts/TTF/' everything works fine, but if the font is in '/usr/local/share/fonts/' then the code fails. Please note that I have already executed the commands:

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
On 8/7/13, Pablo Rodríguez oi...@web.de wrote: On 08/07/2013 04:09 PM, Mingranina Gingranina wrote: [...] For TrueType fonts which are in the directory '/usr/share/fonts/TTF/' everything works fine, but if the font is in '/usr/local/share/fonts/' then the code fails. Please note that I have

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
On 8/7/13, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 07.08.2013 um 12:38 schrieb Mingranina Gingranina mingran...@gmail.com: Dear Hans, Hello, Thank you very much for your reply. With your code the Persian part disappears on my system unless I insert the following two lines

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
On 8/7/13, Otared Kavian ota...@gmail.com wrote: As Wolfgang said, if I fix the name of the key in \setmainfont (from « feature » to « features », see below), then your test works fine here (using Mac OS X 10.8.4, and ConTeXt ver: 2013.08.07 14:40 MKIV beta fmt: 2013.8.7). Unfortunately,