<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>
<br>
</div>This stuff is trickier then one would expect, because of interactions<br>
between \mathdir, \pardir, and \leqno / \eqno.</blockquote><div><br>Indeed. <br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
The big question is this: should \eqno and \leqno adhere to \pardir,<br>
to \mathdir, or simply be physical right and left without regard to<br>
direction specifiers at all? I don&#39;t know the answer to that, so<br>
somebody has to enlighten me.<br>
<br>
<br>
</blockquote><div><br>I am just saying this as my own perspective and it does not need to be correct. Firsty several diferent scripts use RTL writing and the convention for writing maths is different from one RTL script to the other. As an example Persian maths is exactly like LTR maths, we do not do RTL maths \eqno should appear on RHS and \leqno should appear on LHS. but I think in Arabic, they have RTL maths as well, and so the place of \eqno and \leqno is interchanged. In other RTL scripts, they do maths LTR, but the place of \eqno and \leqno is interchanged.<br>
<br>So from my perspective, \eqno, \leqno should not be changed at all if say the user just says, \pagedir TRT \pardir TRT \bodydir TRT \textdir TRT or \pardir TRT \textdir TRT, but it makes sense that when you have \mathdir TRT, the place of \eqno and \leqno is interchanged (This whole paragraph is the default behaviour of luatex now which is correct) <br>
<br><br></div></div><br><br clear="all"><br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>