<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
<br>
</div>It follows (if I understand everything correctly) that luatex itself<br>
should *not* initialize \predisplaydirection based on the current<br>
directions, but just set it to zero. Then, when it comes time to place<br>
an equation number, it should base itself on \mathdir, but swap the<br>
left&amp;right if \pdfdisplaydirection=-1 (as set by the user).<br>
<br>
</blockquote><div><br>Yes (I think). But that is just my view. Hopefully others like Khaled or Idris can contribute to this and say what they think as the correct one. <br></div></div><br><br clear="all"><br>-- <br>Best wishes,<br>
Vafa Khalighi<br>
</div>