Dear Gareth, Thanks for pointing out the better polyglossia style (\setmainfont).
As to the main problem, Vafa Khalighi has kindly explained that for 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. He has also recommended \autofootnoterule instead \rightfootnoterule. That takes care of the problem. It is too easily fixed to require any change in polyglossia or its language-specific files. Kamal Abdali ============== On Thu, Oct 14, 2010 at 07:58, Gareth Hughes <garzoh...@gmail.com> wrote: > Kamal Abdali wrote: > > I'm using the package polyglossia to typeset documents in Urdu, a > > right-to-left language. Polyglossia uses the bidi package whose > > documentation implies that the footnote rule is right-aligned when the > > footnote is in the middle of some right-to-left text. But the footnote > rule > > is appearing aligned to the left anyway. > > > > Here is an example: > > > > \documentclass{article} > > \usepackage{polyglossia} > > \setmainlanguage{urdu} > > \newfontfamily\urdufont[Script=Arabic,Scale=1.7]{Lateef} > > %\rightfootnoterule %force footnote rule to right > > \begin{document} > > افلاطون > > \footnote{یونانی فلسفی} > > \end{document} > > > > > > Unless the commented statement is uncommented, the footnote rule shows up > on > > the left. > > > > Kamal Abdali > > Dear Kamal, > > I can confirm that the footnote rule is wrongly positioned in your file. > I thought that changing \newfontfamily\urdufont for \setmainfont might > make a difference, but it doesn't (I think this replacement might be > considered more correct in polyglossia). As you say, the footnote rule > needs to be forced to be placed correctly. > > Gareth. > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex >
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex