On Wed, Apr 19, 2000 at 03:40:51PM +0200, Jean-Marc Lasgouttes wrote:
> >>>>> "Gady" == Gady Kozma <[EMAIL PROTECTED]> writes:
Shalom Gady!
Are you aware that I've added Hebrew support to LyX 1.1.5 ?
I'll be happy if you can help me improving it...
> Gady> B) The menu now displays the depth too. For example, suppose you
> Gady> have an enumerate of depth 1, with the enclosing environment a
> Gady> proof. The box in the toolbar will show "Enumerate in Proof" (it
> Gady> was slightly widened for this) and the menu will be twice as
> Gady> long, allowing you to chose either an "X in proof" for all
> Gady> layouts X (which just sets the layout) or an "X" which sets both
> Gady> the layout and the depth.
>
> What if you have a two-level depth embedding (with enumaration, for
> example). I guess your scheme does not work anymore then. Moreover,
> this gives very verbose lists.
> Gady> I am embedding lots of stuff in Proof and this change really
> Gady> helps to see what's going on.
>
> Another idea, maybe even more useful would be to have a vertical line
> in the left margin showing how the grouping is currently. It could be
> possible then to click somehow on this line to increase/decrease depth.
This is a good idea, and can be implemented easily (at least drawing the
lines). I've attached a patch that does it (only as a reference!
[The patch is against CVS, and will not works with 1.1.4]).
Another idea is to keep the layout combox list unchanged,
but put to its right a choice button that enable you to choose the depth.
A short graphical illustration:
+-------------+ +--------------+
| Enumerate | | In proof (1) |
+-------------+ +--------------+
Clicking on the right button gives:
+-------------+ +------------------------+
| Enumerate | | Depth 0 |
+-------------+ | |
| In proof (1) |
| |
| In enumerate in .. (2) |
| |
| In enumerate in .. (3) |
+------------------------+