<div dir="ltr">I now want to say why \predisplaydirection is neeed. As I said in my last email, there are RTL scripts that do maths LTR but the place of \eqno and \leqno is interchanged. Assuming \predisplaydirection does not exist, one can reverse \eqno and \leqno is two ways and considering latex, this works for equation environment.<br>
<br>I am describing these two aproaches based on TeX--XeT but it can be done similarly in luatex.<br><br>The first approach would be to say \eveydisplay{\aftergroup\beginR}<br><br>the second would be something like<br><br>
\let\@equation\equation<br>\let\@endequation\endequation<br><br>\def\equation{\beginR\@equation}<br>\def\endequation{\@endequation\endR}<br><br>Both of these approach is not good. In implementing bidi package I have played with these for hours and hours and I know that they are not going to give satisfactory results. THe main proplem is that these two approaches is that it increases the space as much as a blank paragraph between   equations.<br>
<br>So it makes sense to have a primitive like \predisplaydirection that one can achieve this.<br clear="all"><br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>