<div dir="ltr"><font style="font-family: verdana,sans-serif;" size="2">Dear Gareth,<br><br></font><font style="font-family: verdana,sans-serif;" size="2">Thanks for pointing out the better polyglossia style (\setmainfont).</font><br>
<br><font style="font-family: verdana,sans-serif;" size="2">As to the main problem, Vafa Khalighi has kindly explained that for </font><span style="font-family: verdana,sans-serif;">the
footnoterule to be aligned correctly, the RTLdocument or rldocument option of bidi has to be activated. Apparently, this has not been done by polyglossia. <br><br>He has also recommended \autofootnoterule instead \rightfootnoterule. <br>
</span><font style="font-family: verdana,sans-serif;" size="2"><br>
</font><span style="font-family: verdana,sans-serif;">That takes care of the problem. It is too easily fixed to require any change in polyglossia or its language-specific files.</span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">Kamal Abdali</span><br style="font-family: verdana,sans-serif;">==============<br><br><div class="gmail_quote">On Thu, Oct 14, 2010 at 07:58, Gareth Hughes <span dir="ltr"><<a href="mailto:garzohugo@gmail.com">garzohugo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">Kamal Abdali wrote:<br>
> I'm using the package polyglossia to typeset documents in Urdu, a<br>
> right-to-left language. Polyglossia uses the bidi package whose<br>
> documentation implies that the footnote rule is right-aligned when the<br>
> footnote is in the middle of some right-to-left text. But the footnote rule<br>
> is appearing aligned to the left anyway.<br>
><br>
> Here is an example:<br>
><br>
> \documentclass{article}<br>
> \usepackage{polyglossia}<br>
> \setmainlanguage{urdu}<br>
> \newfontfamily\urdufont[Script=Arabic,Scale=1.7]{Lateef}<br>
> %\rightfootnoterule %force footnote rule to right<br>
> \begin{document}<br>
> افلاطون<br>
> \footnote{یونانی فلسفی}<br>
> \end{document}<br>
><br>
><br>
> Unless the commented statement is uncommented, the footnote rule shows up on<br>
> the left.<br>
><br>
> Kamal Abdali<br>
<br>
</div></div>Dear Kamal,<br>
<br>
I can confirm that the footnote rule is wrongly positioned in your file.<br>
I thought that changing \newfontfamily\urdufont for \setmainfont might<br>
make a difference, but it doesn't (I think this replacement might be<br>
considered more correct in polyglossia). As you say, the footnote rule<br>
needs to be forced to be placed correctly.<br>
<br>
Gareth.<br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</blockquote></div><br></div>