Re: [NTG-context] RTL section heads

2016-04-14 Thread Hans Hagen
On 4/13/2016 5:14 PM, Mohammad Hossein Bateni wrote: I updated my context standalone but it gives me current version: 2016.*_04.10_* 23:52, which is buggy. This is from 3 days ago. the garden is being reinstalled / updates but you can get the zip from the website and unpack it in the right

Re: [NTG-context] RTL section heads

2016-04-13 Thread Mohammad Hossein Bateni
Thanks, Hans! The update worked (current version: 2016.04.13 16:46) and the RTL problem seems gone. On Wed, Apr 13, 2016 at 12:41 PM, Pablo Rodriguez wrote: > On 04/13/2016 05:14 PM, Mohammad Hossein Bateni wrote: > > I updated my context standalone but it gives me current

Re: [NTG-context] RTL section heads

2016-04-13 Thread Pablo Rodriguez
On 04/13/2016 05:14 PM, Mohammad Hossein Bateni wrote: > I updated my context standalone but it gives me current version: > 2016.*_04.10_* 23:52, which is buggy. This is from 3 days ago. The server is experiencing some issues (https://mailman.ntg.nl/pipermail/ntg-context/2016/084979.html).

Re: [NTG-context] RTL section heads

2016-04-13 Thread Mohammad Hossein Bateni
I updated my context standalone but it gives me current version: 2016. *04.10* 23:52, which is buggy. This is from 3 days ago. On Wed, Apr 13, 2016 at 10:56 AM, Hans Hagen wrote: > On 4/13/2016 4:59 AM, Mohammad Hossein Bateni wrote: > >> As far as I remember, it was working

Re: [NTG-context] RTL section heads

2016-04-13 Thread Hans Hagen
On 4/13/2016 4:59 AM, Mohammad Hossein Bateni wrote: As far as I remember, it was working fine with betas in December 2015 and January 2016. i uploaded a new beta - Hans Hagen | PRAGMA

Re: [NTG-context] RTL section heads

2016-04-13 Thread Hans Hagen
On 4/13/2016 4:15 AM, Otared Kavian wrote: Hi Hans and Mohammad Reza, I can confirm that the wrong behaviour of numbers and digits in Right to Left (more specifically Persian) is recent: indeed with ConTeXt ver: 2015.05.18 12:26 MKIV current fmt: 2015.6.18 int: english/english

Re: [NTG-context] RTL section heads

2016-04-12 Thread Mohammad Hossein Bateni
As far as I remember, it was working fine with betas in December 2015 and January 2016. On Tue, Apr 12, 2016 at 10:15 PM, Otared Kavian wrote: > Hi Hans and Mohammad Reza, > > I can confirm that the wrong behaviour of numbers and digits in Right to > Left (more specifically

Re: [NTG-context] RTL section heads

2016-04-12 Thread Otared Kavian
Hi Hans and Mohammad Reza, I can confirm that the wrong behaviour of numbers and digits in Right to Left (more specifically Persian) is recent: indeed with ConTeXt ver: 2015.05.18 12:26 MKIV current fmt: 2015.6.18 int: english/english from TeXLive 2015 the numbers and digits are

Re: [NTG-context] RTL section heads

2016-04-12 Thread Mohammad Hossein Bateni
Unfortunately when I use method=two for bidi, the numbers in the main body are written from right to left. I'm starting to wonder whether it does anything nontrivial at all. \usemodule[simplefonts] \setmainfont[ALM Fixed][features=arabic,range=arabic] \setupdirections[bidi=global,method=two]

Re: [NTG-context] RTL section heads

2016-04-11 Thread Mohammad Hossein Bateni
Thanks, Hans! This does solve the problem with the list of numbers. And actually if I add a numberstyle field, I can the section heads the way I like. Here is the setup that worked. (I will update Wiki later.) \setupdirections[bidi=global,method=two] \setupalign[r2l]

Re: [NTG-context] RTL section heads

2016-04-11 Thread Hans Hagen
On 4/11/2016 4:25 AM, Mohammad Hossein Bateni wrote: Hans & Wolfgang, Do you have suggestions here? How can I get the behavior I want for the section head numbers? In fact, the following may be quite relevant. \usemodule[simplefonts] \setmainfont[ALM Fixed][features=arabic,range=arabic]

Re: [NTG-context] RTL section heads

2016-04-10 Thread Mohammad Hossein Bateni
Hans & Wolfgang, Do you have suggestions here? How can I get the behavior I want for the section head numbers? In fact, the following may be quite relevant. \usemodule[simplefonts] \setmainfont[ALM Fixed][features=arabic,range=arabic] \setupdirections[bidi=global,method=default]

[NTG-context] RTL section heads

2016-04-08 Thread Mohammad Hossein Bateni
Hi, This is concerning an RTL text. I have one chapter and 10 sections under that. My goal is to achieve the following. 1) The number 10 should appear correctly with '1' visually to the left of '0'. 2) The chapter number should visually appear to the right of the section number. 3) Chapter and