I am typesetting a Hebrew document using bidi. The material in the longtable environment still comes out LTR. How do I make it work?
\documentclass{article}
\usepackage{longtable}
\usepackage[no-sscript]{xltxtra} % loads fixltx2e, metalogo, xunicode, fontspec
\setmainfont{FreeSans}
\usepackage[rldocument]{bidi}
\begin{document}
\begin{center}
\begin{longtable}{@{\extracolsep{\fill}}llr}
\hline
מילה עברית&English Words&123, 456\\
\hline
English Text&מילים בעברית&12 3456\\
\hline
1234 56.&More English&עוד עברית\\
\hline
\end{longtable}
מילה עברית English Words 123, 456\\
English Text מילים בעברית 12 3456\\
1234 56. More English עוד עברית\
\end{center}
\end{document}
Here are the lines from the output which describe the software and package versions I'm using:
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012)
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, uk
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
bidi package (Support for bidirectional typesetting in plain TeX and LaTeX)
Copyright © 2009–2012 Vafa Khalighi
v11.149, 2012/01/01
@
mechanism here or via email) – David Carlisle Aug 16 '12 at 22:03bidi
. – Alan Munn Aug 16 '12 at 22:11