Re: [NTG-context] Changing sections, formula,... numbering order

2008-08-23 Thread Mehdi Omidali
Thank you Khaled.
As you said we don't need \textdir in Xetex and I can use \pardir TRT
in this situation. I thought that maybe there is a simple setup for
sectioning number in context that I am not aware of. Any way, I have
translated "The not so short introduction to latex" to farsi and also
I am translating "Context an excursion" (due to a number of problems,
somebody told me to use context+xetex for this purpose but now it
seems that I have to complete the translation with luatex) and as you
probably know luatex has a problem with \placeformula in TRT mode (I
don't know if this problem has been resolved).
Thank again.

On 8/23/08, Khaled Hosny <[EMAIL PROTECTED]> wrote:
> On Sat, Aug 23, 2008 at 12:31:38AM +0300, Khaled Hosny wrote:
>> On Wed, Aug 20, 2008 at 05:49:31PM +0330, Mehdi Omidali wrote:
>> > Hi everyone,
>> > I want to use context+xetex for right-to-left typesetting and need to
>> > know if it is possible to use the command \pagedir TRT in this
>> > situation. (I tested that apparently only \pardir TRT is active).
>> > If the answer of the above question is negative I would like to know
>> > how can I change numbering direction of sections, formulas, etc.
>> > Thanks
>>
>> \pardir \textdir etc. are LuaTeX specific, it seems that CpnTeXt
>> emulates \textdir TRT for XeTeX/e-TeX, dunno how to set par direction to
>> RTL in XeTeX though, may be ConTeXt should emulate \pardir as well or
>> may be there is some way to do this that I'm not aware of.
>
> Sorry I got confused, \pardir is what we have, actually you don't need
> \textdir with XeTeX since it will render individual Arabic words from
> right to left correctly and automatically.
>
>
> Regards,
>  Khaled
>
> --
>  Khaled Hosny
>  Arabic localizer and member of Arabeyes.org team
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Changing sections, formula,... numbering order

2008-08-22 Thread Khaled Hosny
On Sat, Aug 23, 2008 at 12:31:38AM +0300, Khaled Hosny wrote:
> On Wed, Aug 20, 2008 at 05:49:31PM +0330, Mehdi Omidali wrote:
> > Hi everyone,
> > I want to use context+xetex for right-to-left typesetting and need to
> > know if it is possible to use the command \pagedir TRT in this
> > situation. (I tested that apparently only \pardir TRT is active).
> > If the answer of the above question is negative I would like to know
> > how can I change numbering direction of sections, formulas, etc.
> > Thanks
> 
> \pardir \textdir etc. are LuaTeX specific, it seems that CpnTeXt
> emulates \textdir TRT for XeTeX/e-TeX, dunno how to set par direction to
> RTL in XeTeX though, may be ConTeXt should emulate \pardir as well or
> may be there is some way to do this that I'm not aware of.

Sorry I got confused, \pardir is what we have, actually you don't need
\textdir with XeTeX since it will render individual Arabic words from
right to left correctly and automatically.


Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team


signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Changing sections, formula,... numbering order

2008-08-22 Thread Khaled Hosny
On Wed, Aug 20, 2008 at 05:49:31PM +0330, Mehdi Omidali wrote:
> Hi everyone,
> I want to use context+xetex for right-to-left typesetting and need to
> know if it is possible to use the command \pagedir TRT in this
> situation. (I tested that apparently only \pardir TRT is active).
> If the answer of the above question is negative I would like to know
> how can I change numbering direction of sections, formulas, etc.
> Thanks

\pardir \textdir etc. are LuaTeX specific, it seems that CpnTeXt
emulates \textdir TRT for XeTeX/e-TeX, dunno how to set par direction to
RTL in XeTeX though, may be ConTeXt should emulate \pardir as well or
may be there is some way to do this that I'm not aware of.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team


signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Changing sections, formula,... numbering order

2008-08-20 Thread Mehdi Omidali
Hi everyone,
I want to use context+xetex for right-to-left typesetting and need to
know if it is possible to use the command \pagedir TRT in this
situation. (I tested that apparently only \pardir TRT is active).
If the answer of the above question is negative I would like to know
how can I change numbering direction of sections, formulas, etc.
Thanks
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___