On Wed, Jul 11, 2001 at 12:00:17PM +0200, Jean-Marc Lasgouttes wrote:
> Dekel> Actually, footnote.sty will not help for a tabular inside a
> Dekel> float. In this case, you need to put the tabular inside a
> Dekel> minipage. So LyX should check if the tabular is not already
> Dekel> inside a minipage, and if not, add a minipage when generating
> Dekel> the .tex file.
>
> This is where I disagree. One should certainly not add constructs like
> minipages just for fun. Anyway, the effect will definitely not be what
> people expect (the footnotes will be at the bottom of the minipage,
> not at the bottom of the page).
>
> The best would be to have a way to tell people that this footnote will
> not work (either disable its insertion or insert an error box at this
> place of the text when generating LaTeX).
How about opening a question dialog that says
"Footnotes in a float must be inside a minipage
(note that the footnotes will appear at the bottom of the minipage instead of
at the bottom of the page).
Do you wish to insert a minipage ?"