> why should this not compile??
>
> \documentclass{article}
> \begin{document}
> \emph{ blah %
> \begin{table}%
> \begin{tabular}{|c|}\hline blah\\\hline\end{tabular}%
> \end{table}%
> }
> \end{document}
If you include caption in your table, you will find the bug.
Step 1. new a lyx 1.2 file, type anything, say "this is a test"
Step 2. insert a table float after "a" (before "test"), give it an
caption with any text.
Step 3. Compile, it works.
Step 4. Make the whole text \emph
Step 5. Compile, 5 errors.
The same thing works with Lyx 1.1.6.
--Ling