[XeTeX] It works! (was Re: \botmark and \firstmark not working for me ...)

Vafa Khalighi vafakh84 at gmail.com
Mon Aug 2 03:28:43 CEST 2010


I had to face a much more complicated problem comparing to your problem. The
problem was that I wanted automatic footnote rule in bidi; if the first
footnote rule in a page was a RTL footnote, then the footnote rule in that
page should appear on the right hand side, no matter what next footnotes in
that page are and if the first footnote rule in a page was a LTR footnote,
then the footnote rule in that page should appear on the left hand side, no
matter what next footnotes in that page are

My approach was 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.

-- 
Best wishes,
Vafa Khalighi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100802/bb0cfaad/attachment.html>


More information about the XeTeX mailing list