On Mon, Jun 09, 2008 at 05:20:23PM +0200, Hans Hagen wrote:
Arthur Reutenauer wrote:
Hello,
Is this a bug, feature, or am I missing some thing?
You're not missing anything, it's kind of a misfeature because the Bidi_Mirrored property is not taken in account by ConTeXt (yet). Happily enough, it's one of the things I'm sponsored by Google to implement as a part of my Summer of Code project (http://code.google.com/soc/2008/tex/appinfo.html?csaid=8BC22C657B7F0D0E) -- of course the project is more general and there is a part on bidirectional behaviour, but I didn't get to it yet. In this case, I guess the mirroring property should be added to char-def.lua and handled accordingly; contrary to XeTeX, LuaTeX doesn't know it intrinsically, so it has to be dealt with at the ConTeXt level.
this morning i added that info to the main table, but i'm still pondering about how to use if properly ... in tex normally there are explicit mode switches (in the source of the document) which gives ultimate control; there's also the issue of these pardir etc changes that then need to be injected into the node list;
anyhow, i'll look into it, but whatever solution i come up with, it has to be under user control; i don't want hard coded automatisms that then are hard to bypass (especially implicid properties can result in messy situations, unicode math is a candidate for that)
Giving the user more control is good idea, as long as the correct behaviour is one of the options. Regards, Khaled
----------------------------------------------------------------- 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