[XeTeX] Polyglossia/Split Hebrew footnote between pages

Gareth Hughes garzohugo at gmail.com
Mon Jan 10 00:44:08 CET 2011


sjo wrote:
> I am writing an English document using \begin{hebrew} to insert Hebrew
> text where necessary. Sometimes I have an English paragraph with a
> footnote that is a long piece of Hebrew text. So I use a macro such
> as:
> 
>     \usepackage{polyglossia} ...
> 
>     \def\hfootnote#1{\footnote{\RL{\hebrewfont #1}}}
> 
> to insert the Hebrew footnote (I tried a variety of approaches
> including \texthebrew{} in a \footnote, but ran into a variety of
> problems).
> 
> The above macro works well, except that it does not split footnotes to
> the next page thus creating short pages that do not look good. It
> keeps the whole footnote on one page.
> 
> Any suggestions would be very much appreciated.
> 
> Jon

Hi Jon!

Can you not use bidi's \RTLfootnote command? You're already loading bidi
in the background if you're loading polyglossia to write Hebrew. Then
you could write something like

\def\hfootnote#1{\RTLfootnote{\hebrewfont #1}}

Any good?

Gareth.



More information about the XeTeX mailing list