Idris Samawi Hamid wrote:
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...
it's not hard to do but indeed we need a clean definition; it may even be that we need to change some of this \*dir stuff; (it's no problem for me to inject dir nodes in the node list); especially messy seems the number stuff btw is there a reason why in bidi arabic r->l is tagged 'al' and not 'r'? Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------