From: Khaled Hosny <khaledhosny@eglug.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Luatex (actually Aleph) and Bidi_Mirrored chars in RTL mode
Date: Sun, 15 Jun 2008 20:26:30 +0300 [thread overview]
Message-ID: <20080615172630.GB6871@khaled-laptop> (raw)
In-Reply-To: <op.ucpta1bwnx1yh1@your-b27fb1c401>
[-- Attachment #1.1: Type: text/plain, Size: 2086 bytes --]
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 <khaledhosny@eglug.org>
> 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
> attached modified files.
>
> \setcharactermirroring[0,1] works in both uni- and bi-directional text --
> note that each bracketpair is inside of its respective directional
> 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
> does not behave as expected.
>
> It may be that the second invocation of \setcharactermirroring does not
> immediately override the last. Maybe we need a \flush or
> \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
>
> --
> 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
> ___________________________________________________________________________________
--
Khaled Hosny
Arabic localizer and member of Arabeyes.org team
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-06-15 17:26 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-09 1:21 Khaled Hosny
2008-06-09 13:43 ` Arthur Reutenauer
2008-06-09 15:20 ` Hans Hagen
2008-06-09 17:01 ` Khaled Hosny
2008-06-09 21:08 ` Hans Hagen
2008-06-13 21:52 ` Khaled Hosny
2008-06-14 1:34 ` Idris Samawi Hamid
2008-06-15 17:26 ` Khaled Hosny [this message]
2008-06-15 20:32 ` Hans Hagen
2008-06-15 20:50 ` Idris Samawi Hamid
2008-06-15 20:58 ` Hans Hagen
2008-06-15 21:42 ` Idris Samawi Hamid
2008-06-16 16:14 ` Khaled Hosny
2008-06-15 20:37 ` Hans Hagen
2008-06-15 20:36 ` Hans Hagen
2008-06-10 1:07 ` Idris Samawi Hamid
2008-06-10 1:36 ` Arthur Reutenauer
2008-06-10 1:44 ` Idris Samawi Hamid
2008-06-10 7:34 ` Hans Hagen
2008-06-10 15:28 ` Arthur Reutenauer
2008-06-10 15:32 ` Hans Hagen
2008-06-10 21:30 ` Arthur Reutenauer
2008-06-18 5:40 ` Otared Kavian
2008-06-18 8:29 ` Arthur Reutenauer
2008-06-18 15:22 ` Idris Samawi Hamid
2008-06-18 15:44 ` Khaled Hosny
2008-06-18 19:50 ` Idris Samawi Hamid
2008-06-18 21:38 ` Khaled Hosny
2008-06-10 8:13 ` Hans Hagen
2008-06-10 15:29 ` Arthur Reutenauer
2008-06-10 16:24 ` Hans Hagen
2008-06-10 21:37 ` Arthur Reutenauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080615172630.GB6871@khaled-laptop \
--to=khaledhosny@eglug.org \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).