Jean-Marc Lasgouttes wrote:

> For lyx <= 1.3, what happens if there is no \layout at the beginning
> of an ERT inset? Do it choose the default layout?

lyx2lyx will complain if there is no \layout (in convert_collapsable and
revert_collapsable).
I don't know what LyX does if there is no \layout, but it will read the file
if the layout name is empty (see
http://bugzilla.lyx.org/show_bug.cgi?id=2088)

> In 1.4, we could decide that some special layout name like <default>
> is the default layout.

Maybe that, or we could declare the already existing feature that no layout
name is required official. This might require fixes like that for bug 2088
at more places in lyx2lyx, but I begin to like this more.


Georg

Reply via email to