Looking at the export from 1.16 fix 4, and 1.2.0pre4 (without the patch), I see the following from 1.1.6
%% LyX 1.1 created this file. For more info, see http://www.lyx.org/. \begin{document} This is a test with a float. \begin{figure} {\centering \includegraphics{graphs/overall-spring/spring-non-dim.eps} \par} \caption{There is a figure here} \end{figure} This is some text after the float. \end{document} while from 1.2.0 I get %% LyX 1.2 created this file. For more info, see http://www.lyx.org/. \begin{document} This is a test with a float.\begin{figure}% \begin{center}\includegraphics{graphs/overall-spring/spring-non-dim}\end{center} \caption{There is a figure here}\end{figure}% This is some text after the float. \end{document} The error I get from running latex on the 1.2.0 tex file is (temp-120pre4.fff) Runaway arguement? ! File ended while scanning use of \next. <inserted text> \par <*> temp-120pre4.tex ? ! Emergency stop. <inserted text> \par <*> temp-120pre4.tex So, it might also be related to the difference in the use of \par between the two exports. When I had a go at trying to put \par in various places however, I wasn't successful. Rod On Thu, 2 May 2002, Herbert Voss wrote: > Rod Pinna wrote: > > > Herbert et al, > > > > Just checked the patch. For endfloat to work, it needs the following > > > > os << "\n\\end{" << tmptype << "}\n"; > > > > rather than > > > > os << "\\end{" << tmptype << "}%\n"; > > > > which was the original line. > > > > i.e. end{float}\n, rather than end{float}% > > > yes, I still have it in my tree. forget to tell you ... > > I saw that 1.1.6 has the same output, so I'm wondering why > it worked for you. > > Herbert > > > > -- > http://www.lyx.org/help/ > _________________________________________________________________________ rpinna |"Zoeggeler denies Hackl four straight luge golds" @civil.uwa| .edu.au | ABC news headline, 2002