Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-18 Thread Mohammad Hossein Bateni
This makes all the text LTR, for instance if one has an English word embedded in the RTL text, that will be shown incorrectly. Or even if one of the headers (say, on the left side) is plain English. Why wouldn't something like the following work? \startsetups setup:bidi \setupdirections[bidi=on

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-18 Thread Ibn Saeed
Wolfgang Schuster gmail.com> writes: > > \setupheader[style=\righttoleft] > Wolfgang > Thank you very much. This solves the issue of the arabic text in header as well. ___ If your question is of interest to oth

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-18 Thread Wolfgang Schuster
Ibn Saeed 18. Januar 2016 um 08:15 By using right \setupmargindata [margintext] [align=r2l] and \setupalign[r2l] The margin arabic text appears correctly But the arabic texts in the header is still the same. \setupheader[style=\righttoleft] Wolfgang

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
Ibn Saeed gmail.com> writes: > > > > > > \setupmargindata > > [margintext] > > [align=r2l] > > > > use \setupalign[r2l] and \righttoleft and not the dir primitives > > > > I did not understand how to use > > "use \setupalign[r2l] and \righttoleft and not the dir primitives" > > Do yo

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
> > \setupmargindata > [margintext] > [align=r2l] > > use \setupalign[r2l] and \righttoleft and not the dir primitives > I did not understand how to use "use \setupalign[r2l] and \righttoleft and not the dir primitives" Do you mean that i should remove these lines ? \pagedir TRT \body

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Hans Hagen
On 1/17/2016 7:47 PM, Ibn Saeed wrote: I have also made a post at tex.stackexchange.com I am trying to get Arabic Chapter Name in the header and some arabic text in the margins using ConTeXt MarkIV Here is the code: \mainlanguage[arabic] \setupdirections[bidi=global] \definefontfeature [a

[NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
I have also made a post at tex.stackexchange.com I am trying to get Arabic Chapter Name in the header and some arabic text in the margins using ConTeXt MarkIV Here is the code: \mainlanguage[arabic] \setupdirections[bidi=global] \definefontfeature [arabic] [mode=node,language=dflt,script=