From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41695 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Luatex (actually Aleph) and Bidi_Mirrored chars in RTL mode Date: Sun, 15 Jun 2008 20:26:30 +0300 Message-ID: <20080615172630.GB6871@khaled-laptop> References: <20080609012128.GA8011@khaled-laptop> <484D9BB9.1020601@wxs.nl> <20080613215227.GA13603@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0721722643==" X-Trace: ger.gmane.org 1213550899 30354 80.91.229.12 (15 Jun 2008 17:28:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2008 17:28:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 15 19:29:02 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 1K7w2I-0006GA-Ic for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jun 2008 19:29:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DA2DD1FC77; Sun, 15 Jun 2008 19:28:09 +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 02515-03; Sun, 15 Jun 2008 19:27:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7F02C1FC44; Sun, 15 Jun 2008 19:27:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 623971FC44 for ; Sun, 15 Jun 2008 19:27:20 +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 00560-03-9 for ; Sun, 15 Jun 2008 19:26:43 +0200 (CEST) Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by ronja.ntg.nl (Postfix) with ESMTP id ECC5D1FBB5 for ; Sun, 15 Jun 2008 19:26:41 +0200 (CEST) Original-Received: by an-out-0708.google.com with SMTP id c8so968315ana.14 for ; Sun, 15 Jun 2008 10:26:40 -0700 (PDT) Original-Received: by 10.100.178.13 with SMTP id a13mr7090746anf.29.1213550800188; Sun, 15 Jun 2008 10:26:40 -0700 (PDT) Original-Received: from localhost ( [62.135.88.197]) by mx.google.com with ESMTPS id c29sm9202056anc.38.2008.06.15.10.26.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 15 Jun 2008 10:26:39 -0700 (PDT) In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) 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:41695 Archived-At: --===============0721722643== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ABTtc+pdwF7KHXCz" Content-Disposition: inline --ABTtc+pdwF7KHXCz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 13, 2008 at 07:34:03PM -0600, Idris Samawi Hamid wrote: > Hi Khaled, > > On Fri, 13 Jun 2008 15:52:27 -0600, Khaled Hosny = =20 > wrote: > >>> experimental in the beta >>> >>> \setcharactermirroring[1] >> >> It does work perfectly with unidirectional texts (RTL or LTR), but when >> mixing bi-directional text, like Arabic text between brackets inside >> English line, the closing bracket takes the direction of the embedded >> text not the main line. >> See the attached example. > > I just worked with this, and made some symmetrical definitions: see the = =20 > attached modified files. > > \setcharactermirroring[0,1] works in both uni- and bi-directional text --= =20 > note that each bracketpair is inside of its respective directional=20 > context. Thanks for the fix, this makes it more organized indeed. > > However, for the FIRST occurence of a bracket-pair in a bidi paragraph it= =20 > does not behave as expected. > > It may be that the second invocation of \setcharactermirroring does not = =20 > immediately override the last. Maybe we need a \flush or =20 > \clearsetcharactermirroring command? I'm new at TeX/ConTeXt, all what I can do is to confirm that I'm getting the same output as yours. Regards, Khaled > > Best wishes > Idris > > --=20 > Professor Idris Samawi Hamid, Editor-in-Chief > International Journal of Shi`i Studies > Department of Philosophy > Colorado State University > Fort Collins, CO 80523 > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --=20 Khaled Hosny Arabic localizer and member of Arabeyes.org team --ABTtc+pdwF7KHXCz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIVVDGRoqITGOuyPIRAjYxAJ9YV8E2+3OOZxANUpnWa1xSomygTgCgg/OJ X5gtbbDRRIYHWqh4XjU6Ffo= =ebOg -----END PGP SIGNATURE----- --ABTtc+pdwF7KHXCz-- --===============0721722643== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0721722643==--