On Mon, Jun 09, 2008 at 11:08:09PM +0200, Hans Hagen wrote:
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?
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. Regards, Khaled
no high level interface yet, i need to think of how to do such things as efficient as possible and prevent interference with font features and such (currently it's an attribute handler that pops in quite early)
--
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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