From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43311 Path: news.gmane.org!not-for-mail From: "Mehdi Omidali" Newsgroups: gmane.comp.tex.context Subject: Re: Changing sections, formula,... numbering order Date: Sat, 23 Aug 2008 14:23:48 +0330 Message-ID: <6048c4180808230353v79a5eccas39e57cefc946e260@mail.gmail.com> References: <6048c4180808200719q49e80ba2uc57c1b29e60bf3ea@mail.gmail.com> <20080822213138.GA25071@khaled-laptop> <20080822221737.GA27517@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219492614 9495 80.91.229.12 (23 Aug 2008 11:56:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Aug 2008 11:56:54 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 23 13:57:46 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KWrkY-0006lS-LX for gctc-ntg-context-518@m.gmane.org; Sat, 23 Aug 2008 13:57:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 143411FBBE; Sat, 23 Aug 2008 13:56:44 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18383-01-3; Sat, 23 Aug 2008 13:55:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5196F1FC03; Sat, 23 Aug 2008 13:24:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DC5611FBBE for ; Sat, 23 Aug 2008 13:24:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11225-04-4 for ; Sat, 23 Aug 2008 13:23:54 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by ronja.ntg.nl (Postfix) with ESMTP id B8D6E1FC67 for ; Sat, 23 Aug 2008 12:53:49 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id k3so349428ugf.1 for ; Sat, 23 Aug 2008 03:53:49 -0700 (PDT) Original-Received: by 10.67.116.8 with SMTP id t8mr304524ugm.57.1219488828914; Sat, 23 Aug 2008 03:53:48 -0700 (PDT) Original-Received: by 10.67.98.20 with HTTP; Sat, 23 Aug 2008 03:53:48 -0700 (PDT) In-Reply-To: <20080822221737.GA27517@khaled-laptop> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43311 Archived-At: 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 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 ___________________________________________________________________________________