[XeTeX] It works! (was Re: \botmark and \firstmark not working for me ...)
Ron Aaron
ron at ronware.org
Mon Aug 2 05:37:20 CEST 2010
On Monday 02 August 2010 04:28:43 Vafa Khalighi wrote:
> ... 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...
It sounds like you could have used marks as well -- simply indicate the direction of the first footnote in the "firstmark" mark. If you use marks as I do to store footnote number ranges, you could add 10,000 (say) to the number to indicate RTL vs LTR. Then you wouldn't have to do complex post-processing. But you probably have other considerations.
Persian is also much more complex to properly typeset than Hebrew is, though properly placing vowel points is not trivial (and since I am doing a translation, the source text is pointed). But because it is a translation, I only have English footnotes (which may include Hebrew in-line, but that's trivial) -- and this is indeed much simpler than your problem.
> My approach was to maintain a list the ht+dp of footnotes inserted and the
> resolved direction of that footnote.
How did you maintain such a list? I am looking for good ways to do more complex data storage under TeX.
Best regards,
Ron
--
Sending me something private?
Use my GPG public key: AD29415D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://tug.org/pipermail/xetex/attachments/20100802/1f1ba131/attachment.bin>
More information about the XeTeX
mailing list