From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41501 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: Re: Luatex (actually Aleph) and Bidi_Mirrored chars in RTL mode Date: Mon, 09 Jun 2008 19:07:29 -0600 Organization: Colorado State University Message-ID: References: <20080609012128.GA8011@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 1213060156 31401 80.91.229.12 (10 Jun 2008 01:09:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2008 01:09:16 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 10 03:09:57 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 1K5sN2-0008DR-PC for gctc-ntg-context-518@m.gmane.org; Tue, 10 Jun 2008 03:09:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F0AC1FCDD; Tue, 10 Jun 2008 03:09:07 +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 31483-04-5; Tue, 10 Jun 2008 03:08:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3B02B1FC91; Tue, 10 Jun 2008 03:08:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9B0EB1FC7A for ; Tue, 10 Jun 2008 03:08:17 +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 32420-02-4 for ; Tue, 10 Jun 2008 03:07:42 +0200 (CEST) Original-Received: from trueband.net (director.trueband.net [216.163.120.8]) by ronja.ntg.nl (Postfix) with SMTP id 223D11FBD0 for ; Tue, 10 Jun 2008 03:07:41 +0200 (CEST) Original-Received: (qmail 1097 invoked by uid 1006); 10 Jun 2008 01:07:40 -0000 Original-Received: from ishamid@colostate.edu by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(0.1/100.0):. Processed in 0.387927 secs); 10 Jun 2008 01:07:40 -0000 Original-Received: from unknown (HELO trueband.net) (172.16.0.19) by -v with SMTP; 10 Jun 2008 01:07:39 -0000 Original-Received: (qmail 30897 invoked from network); 10 Jun 2008 01:07:34 -0000 Original-Received: from unknown (HELO your-b27fb1c401) (75.104.82.252) by -v with SMTP; 10 Jun 2008 01:07:34 -0000 In-Reply-To: <20080609012128.GA8011@khaled-laptop> User-Agent: Opera Mail/9.24 (Win32) 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:41501 Archived-At: Hi Khaled, On Sun, 08 Jun 2008 19:21:28 -0600, Khaled Hosny wrote: > Luatex does not mirror characters that has a Bidi_Mirrored property when > the text direction is set to RTL (TRT in Aleph), according to > http://unicode.org/reports/tr9/#Mirroring, the different types of > parenthesis that has Bidi_Mirrored property should be mirreored in RTL > mode, but this isn't what I get. Is this a bug, feature, or am I missing > some thing? In addition to the comments by Arthur, Hans: This issue needs to be looked at in the larger context of bidi in luatex. For example, we need a flexible model to implement Bidirectional Character Types. For example, we need an option that will recognize certain character-types as RL and switch directions accordingly -- that is, automatically switch \textdir, within a given paragraph, in accordance with the directionality of the word-string. This needs a well thought-out model so that we can map the Unicode specification to our \texdir \pardir functionality... So the whole directionality issue needs to be looked at carefully, in addition to temporary patches like \setcharactermirroring[1] OTOH: SC Unipad gets this right is perhaps the ideal to strive for... Indeed, it implements unicode better than any text application of which I am aware... Also, we need not be too slavish: The Yudit author has pointed out areas where the bidi algorithm makes no sense or is deficient: http://www.yudit.org/bidi/surprise.html So this all needs careful thought. On my list... Best wishes Idris -- 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! 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 ___________________________________________________________________________________