This does not appear to be mentioned in the documentation; it does say
that footnotes from the header are not supported (but I am not trying
to do that), and it also says that special precautions are taken to
make footnotes work in p-columns. Presumably these precautions are
incompatible with manyfoot.
Have I just made a foolish mistake? Is it worth raising a bug report?
Many thanks for any tips.
--
David Stone
\documentclass{article}
\usepackage{manyfoot}
\usepackage{longtable}
\DeclareNewFootnote{A}[alph]
\DeclareNewFootnote{B}[roman]
\begin{document}
This example illustrates how series of footnotes declared using
manyfoot are lost in a p-column in a longtable.
\begin{longtable}{p{0.5\textwidth}l}
\endfirsthead% no header
\endhead% no header
\endfoot% no footer
\endlastfoot% no footer
This has an omitted A-series footnote\footnoteA{A-series DOES NOT
APPEAR} &
This has an A-series footnote\footnoteA{A-series bis}\\
This has an omitted B-series footnote\footnoteB{B-series DOES NOT
APPEAR} &
This has an B-series footnote\footnoteB{B-series bis}\\
This has a default series footnote\footnote{Default series} &
This has a default series footnote\footnote{Default series bis}\\
\end{longtable}
\end{document}
> It seems to me that in a p-column in a longtable, footnotes from
> series defined using manyfoot's \DeclareNewFootnote are lost. The
> example below, when I pass it through latex, omits the two footnotes
> containing `DOES NOT APPEAR'.
>
> This does not appear to be mentioned in the documentation; it does say
> that footnotes from the header are not supported (but I am not trying
> to do that), and it also says that special precautions are taken to
> make footnotes work in p-columns. Presumably these precautions are
> incompatible with manyfoot.
Yes.
> Have I just made a foolish mistake? Is it worth raising a bug report?
The last iteration of bigfoot.sty works around that problem for the
default footnote level. However, \DeclareNewFootnote is a different
piece of kettle. longtable's footnote saving mechanism is fundamentally
uncapable of dealing with more than one footnote layer. One would have
to code around that explicitly.
--
David Kastrup
UKTUG FAQ: <URL:http://www.tex.ac.uk/cgi-bin/texfaq2html>
ok; thank you for confirming my suspicion.
> ... longtable's footnote saving mechanism is fundamentally
> uncapable of dealing with more than one footnote layer. One would have
> to code around that explicitly.
I guess I'll have to write an explicit parbox, with the \footnotemarkA
inside,
and the \footnotetextA just outside, and put that in an l-column.
(Fortunately I happen not to have multiple footnotes from the same
series for one entry.)
--
David Stone