On 06/28/2011 09:28 AM, Murat Yildizoglu wrote: > Just to complete my previous mail by an example, I get the following > type strange codings (copied from the View latex code window): > > \end{frame} > > \lyxframeend{}\section{Blabla} > > > The \end{frame} comes from an Evil Red box and \lyxframeend{} is > introduced without a selection by me of a frame environment. > > LyX's beamer support is kind of strange, in part because of LyX's limited ability to handle arguments and in part because frames act like insets but are rendered more like commands. This is why there is the odd \lyxframeend{} macro. Anyway, it does not surprise me that LyX has trouble importing beamer files properly. I think the only thing you can really do is clean it up manually.
Richard