<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>How does bidi do this? Is it a rewrite of the output routine?<br>
<font color="#888888"></font><br></blockquote></div><br>The trick I've performed here is to maintain a list the ht+dp of footnotes inserted and the resolved direction of that footnote. Then in the output routine, from the ht+dp of the footins box and this list of mine, I can figure out what the direction of the first footnote in this page is, and which footnotes are actually put in this page, and update my list.<br clear="all">
<br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>