Hi, Yesterday, I tried the last SVN and found the following (I did not find this in bugzilla.lyx.org) Suppose you want to put only an enumerate environment in a theorem. You click on "Theorem", then you insert a % in TeX mode, you hit "Enter" and you choose "enumerate". In lyx-1.5 this is traduced by
\begin{thm} % \begin{enumerate} \item aaa \end{enumerate} \end{thm} which is OK and in lyx-1.6 it is traduced by \begin{thm} %\begin{enumerate} \item aaa \end{enumerate} \end{thm} which gives of course an error of latex compilation. PhC