On 04/06/11 23:12, Guenter Milde wrote:
[...]
For this kind of environments, you use an Inset instead of a Style:
I thought an Inset was for character-level markup. I may have
misunderstood something here.
it shows as a box in the LyX buffer,
it is only leaved when you tell it, and
it allows two subsequent instances without the
"--- Environment Separator ---" hack.
Unfortunately, beamer.layout (and some others) are older than the
customizable Inset, so that it contains this "End..." hacks or uglier
things.
What is the trick that permits (for example) a Frame environment to
contain other environments without the need to "increase the depth" of
the inserted environment?
Using an Inset instead of a Style.
Section 5 of the doc doesn't seem to have anything on what an Inset is
and why one would want to use one. I can see the section on FlexInsets
but not on Insets.
///Peter