Also sprach Hans Kunkell:
> If I don't use LyX text wrap float I get the following errors:
>
> LaTeX Error: Environment floatingfigure undefined.
> Missing number, treated as zero.
> Illegal unit of measure (pt inserted).
> Undefined control sequence.
> LaTeX Error: \begin{document} ended by \end{floatingfigure}
>
> I found out that \usepackage{floatflt} is missing when not using Text
> Wrap float in LyX
This is strange. tex2lyx adds this command to the preamble for me.
> but when adding the usepackage statement in the
> preamble I get the error "Undefined control sequence" for \includegraphics.
Isn't the graphic imported natively? If it is imported as ERT, you need to add
\usepackage{graphicx} to the preamble.
Jürgen