E. Kaplan schreef:
A little more information about the senseless warning near the
captions of wrapfigures:
If I have the Latex code:
\begin{wrapfigure}{R}{0.29\textwidth}
\includegraphics[scale=0.3]{cortical_image_v2}
\caption{Intrinsic optical imaging of macaque primary visual cortex
(V1), showing the response to a uniform color patch. The image size is
652x492 pixels (6$\mu$/pixel). Detailed information about the protocol
can be found in Ref.~\cite{Xiao_NN2008}. }
\label{fig:monkey_cortex} \end{wrapfigure}
\hfill
and import it into Lyx, Lyx decides that it is SENSLESS, does not make
the graphics a float
(even though the {R} after \begin{wrapfigure} indicates that it should
float), and warns SENSELESS. The pdf output, however, seems correct,
or almost so.
EK
LyX does not yet support to import latex code with wrapfigures. Said
differently, it does not know that it should convert this environment
into a wrap figure float. Instead, it just imports the latex code and
put this in ERTs. Now, your document is still compilable and is (almost)
correct.
However, the caption thinks that it is not in a float, because the ERT
code is not parsed by LyX. That's why LyX warns you.
You can easily insert a wrap figure float yourself and copy the contents
into this float.
Vincent