Try to compile the attached LyX file with LyX 1.6.5svn.
It fails, because we have this LaTeX code:

\item [\rule[-2ex]{3cm}{2pt}]

instead of

\item [{\rule[-2ex]{3cm}{2pt}}]

This is a regression to LyX 1.6.3 or 1.6.4 and basically my fault. Jürgen, you probably remember that I reported a bug with the list item formatting because we always added braces around the items. We therefore removed them but the correct solution is:

Don't use braces, except when the item contains a command with optional 
arguments.
(All other cases work as item: tables, commands, unscaled images.)

So I vote to check if the item contains a "[". If yes, use braces for the whole item as we had in LyX 1.6.3), of not, leave the item untouched. Opinions?

regards Uwe

Attachment: EmbeddedObjects-test.lyx
Description: application/lyx

Reply via email to