The problem is fixed. After reviewing the changes you made in the files, I guess it was a problem with the citation references in the footnote.
It is quite surprising because I have put references in foot in other articles (1.16fix4 and earlier versions) and I don't remember any case I need to use "\protect...". Thank you for the help! Max Herbert Voss wrote: > Max Bian wrote: > >> The attached files contain one lyx file showing a footnote problem. >> The .tex file is the exported latex. >> >> I noticed that some codes are inserted: >> >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. >> \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} >> %% Special footnote code from the package 'stblftnt.sty' >> %% Author: Robin Fairbairns -- Last revised Dec 13 1996 >> \let\SF@@footnote\footnote >> \def\footnote{\ifx\protect\@typeset@protect >> \expandafter\SF@@footnote >> \else >> \expandafter\SF@gobble@opt >> \fi >> } >> \expandafter\def\csname SF@gobble@opt \endcsname{\@ifnextchar[%] >> \SF@gobble@twobracket >> \@gobble >> } >> \edef\SF@gobble@opt{\noexpand\protect >> \expandafter\noexpand\csname SF@gobble@opt \endcsname} >> \def\SF@gobble@twobracket[#1]#2{} >> >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. >> >> This code (from lyx_sty.C) seems causing problem. Five error boxes >> popup regarding this code. > > > > what happens with the attached file? > > Herbert > >