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
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