<div dir="ltr">True but at least I think luatex can provides something similar to  what XeTeX provides by its ICU layout engine and the rest (which obviously is much complicated and needs more testing) can be done either by a preprocessor or done entirely in lua.<br>
<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Which thereby makes a generic solution impossible. Omega translation processing struggled with this mix of 'pure text', 'macro expansion', 'packages content' and it never worked out in complex situations. For me this is a pretty good reason for not adding any hard coded bidi (or foo or bar or whatever) behavior to core luatex but stick to either external libraries (preprocessing or whatever) and/or solutions written in lua that nicely interact with the macro packages concepts. (Well, that's the main reason for having lua as extension language in the first place).<br>

<br>
Hans<br clear="all"><br></blockquote></div><br>-- <br><div dir="ltr">Vafa Khalighi<br>Iranian <br>Persian<br>Aryan<br></div><br>
</div>