<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
but couldn't you just do<br>
<br>
\hbox \bgroup \beginR$<br>
<br>
to get the same, but working with older engines?<br></blockquote><div><br></div><div><br></div><div>That was the first thing I tried when I wanted to implement RTL tabular in bidi. Unfortunately that neither works with old xetex nor with new one.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><br>
> I will look at longtable and see if the same kind of thing can be done there.<br>
<br>
</div>I don't have it here but can you put \beginR at the start of $$ and<br>
still have a display \halign? if so you could easily make longtable do<br>
the right thing....<br>
<br>
$$\beginR\halign{&#\hfil\cr a&b&c\cr}\endR$$<br>
<div class=""><div class="h5"><br>
?<br>
<br></div></div></blockquote><div><br></div><div>In this case, using \beginR, \endR inside display mode gives "Improper \halign inside $$'s." error. </div>







</div></div></div>