Thank you, that did lead to a solution for me.

--Andy

On 2/7/2011 6:02 PM, Fr. Michael Gilmary, mma wrote:

On Feb 7 AD 2011, at 7:07 PM, Andy Black wrote:

Hello.

I'm using XeLaTeX with the longtable package, version 4.11. The documentation says that longtable takes special precautions, so that footnotes may also be used in 'p' columns. I'm having problems, though, with this scenario. While the footnote number in the table has the correct number, the footnote number in the footnote text at the bottom of the page uses a zero.

A small sample that causes this is below.

What am I doing wrong?




I don't use longtable ... but all I did was remove the bracketed numbers you have after the \footnote commands and the numbers came out fine. See your modified example below.




\documentclass[12pt,twoside]{article}
\usepackage{xltxtra}
\usepackage{longtable}
\setmainfont{Times New Roman}
\font\MainFont="Times New Roman" at 12pt
\begin{document}
\begin{MainFont}
\vspace*{1in}
{\centering{\LARGE{\textbf{Footnotes in tables with longtable and XeLaTex\\}}}}
\thispagestyle{plain}
\vspace*{1in}
\indent Here's a footnote in regular text.\footnote{{\leftskip0pt\parindent1em
Text in first footnote.}}\par{}
\begin{longtable}[t]{@{}lp{.975in}@{}}
blah&blue\footnote{{\leftskip0pt\parindent1em
This is the second footnote, but its number is a zero! Its column spec uses a 'p'.}}\\ green\footnote{\leftskip0pt\parindent1em Here is another footnote in a table, but it's column spec does not use a 'p'.}&chartreuse\\
\end{longtable}
\end{MainFont}
\end{document}



HTH.




United in adoration of Jesus,



fr. michael gilmary, mma

Most Holy Trinity Monastery
67 Dugway Road
Petersham, MA 01366

www.MaroniteMonks.org






--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex



--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to