% \begin{meta-comment}
%
-% $Id: footnote.dtx,v 1.1 2002/02/03 20:49:03 mdw Exp $
+% $Id: footnote.dtx,v 1.2 2002/03/13 21:50:04 mdw Exp $
%
% Save footnotes around boxing environments and things
%
% (c) 1996 Mark Wooding
%
-%----- Revision history -----------------------------------------------------
-%
-% $Log: footnote.dtx,v $
-% 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{327}
+% \CheckSum{328}
%\iffalse
%<*package>
%\fi
% \end{footnote}
%
% \begin{macrocode}
-\def\fn@fntext#1{%
+\long\def\fn@fntext#1{%
\ifx\ifmeasuring@\@@undefined%
\expandafter\@secondoftwo\else\expandafter\@iden%
\fi%