Am 05.03.2008 um 19:59 schrieb Richard Heck:

Stefan Schimanski wrote:

Am 05.03.2008 um 18:31 schrieb Jean-Marc Lasgouttes:

Richard Heck <[EMAIL PROTECTED]> writes:

It was recently suggested on the user's list that we should have
separate combo boxes in the toolbar for different sorts of layouts.
I'm not sure that quite works, but I can imagine some sort of solution
where we have e.g. all of the theorem layouts in one box, and other
things in a different box.

I do not see why this makes sense, since the setting of these
different comboxes will be incompatible. If we have categories, and
maybe a hierarchical menu instead of a combox, the same problem is solved.

And I can remember thinking, or talking, about other bugs and saying
something like, "We can't do this because LyX doesn't always know
whether something is a sectioning command."

We actually need to collapse things like Section and Section* in a
generic way.

What I have in mind is this kind of separation in the list box:

Where are you getting whether it came from a module or not? Or is that just a mock up?

It's real code. It displays the "-- Separator --" line like that. As soon as I have the real category, I will just sort the layouts in the model by category and paint such a separater between the category groups.



Anyway, I'll try to get to the LayoutCategory backend tomorrow. Couldn't manage it yesterday.

Don't worry, no need to hurry.

Stefan

Reply via email to