On 03/06/11 23:14, Richard Heck wrote:
On 06/03/2011 05:48 PM, Peter Flynn wrote:
[...]
Hmmm. That's what I did: insert a list. But there's nothing in the
Edit menu related to lists at that point. This is using a Beamer
layout file: does that disable some of this stuff?
No, it shouldn't. Here, it is at the very bottom of that menu. Try
Alt-Shift-Right Arrow....
On 03/06/11 23:20, Julien Rioux wrote:
[...]
I don't think Beamer disallows it. Try to put two environments (that
are different from "Standard" environment) one after the other. Place
your cursor in the second. You will have the action "Increase List
Depth" available and using it will wrap the second environment by the
first.
I found it eventually, thank you both very much.
I think I need to create an EndFoo style so that I can get LyX to
display something that shows the end-boundary of the environment,
otherwise the user will have no idea if the cursor is still within the
Foo environment when inserting the list...I have been spoiled by so many
years of using XML and LaTeX where you can see the boundaries.
My problem was in not expecting a function like Increase List Depth to
be needed: I had assumed it was the default that a new environment would
go inside the current one. If I invoke a LyX style which is defined as a
LaTeX environment, I thought everything I typed or invoked from there on
would go inside the environment until I did something to exit the
environment.
(This problem isn't unique to LyX, but most systems do it the other way
round, allowing arbitrarily anything inside a style and providing no way
to get outside the environment; see my comment in [1].)
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?
///Peter
--
[1]
http://balisage.net/Proceedings/vol3/html/Flynn01/BalisageVol3-Flynn01.html,
footnote [3].