%
% (c) 1996 Mark Wooding
%
-%----- Revision history -----------------------------------------------------
-%
-% $Log: footnote.dtx,v $
-% Revision 1.2 2002/03/13 21:50:04 mdw
-% Make \fn@fntext be \long; suggested by `rockmover'.
-%
-% Revision 1.1 2002/02/03 20:49:03 mdw
-% Checkin for new build system.
-%
-% Revision 1.13 1997/01/28 19:45:16 mdw
-% Fixed stupid bug in AMS environment handling which stops the thing from
-% working properly if you haven't included amsmath. Doh.
-%
-% Revision 1.12 1997/01/18 00:45:37 mdw
-% Fix problems with duplicated footnotes in broken AMS environments which
-% typeset things multiple times. This is a nasty kludge.
-%
-% Revision 1.11 1996/11/19 20:50:05 mdw
-% Entered into RCS
-%
-%
% \end{meta-comment}
%
% \begin{meta-comment} <general public licence>
%<+package> [1997/01/28 1.13 Save footnotes around boxes]
% \end{meta-comment}
%
-% \CheckSum{328}
+% \CheckSum{329}
%\iffalse
%<*package>
%\fi
% Footnotes are finished off by this macro. This is the easy bit.
%
% \begin{macrocode}
-\let\fn@endnote\color@endgroup
+\def\fn@endnote{\color@endgroup}
% \end{macrocode}
%
% \end{macro}
\def\fn@endfntext{%
\@finalstrut\strutbox%
\fn@postfntext%
+ \fn@endnote%
\egroup%
\begingroup%
\let\@makefntext\@empty%