Am 03.03.2008 um 18:51 schrieb Richard Heck:

Stefan Schimanski wrote:

Am 03.03.2008 um 18:03 schrieb Richard Heck:

Stefan Schimanski wrote:
While doing these changes, it would be not too hard to add some additional information to the layout. It would be interesting IMO to display (in grey) the document class model right to the layout name where the layout comes from. E.g. next to Theorem a grey "AMS" would be written.

I'm not sure what you mean here. If it's really the document class we want to display, then that's the same for everything in the layout. If it's the file where the layout is defined, then some paragraphs will come from e.g. stdsections.inc; some from the main *.layout file; and some from modules; but I don't know if the ordinary user will care. And some will originate in one place and be modified in another, or even be deleted and then totally redefined. So I'm not sure there's any clear sense to "where things come from". And at present, we don't have this information stored in the DocumentClass object. Of course, it could be put there.

It was just an idea if we had useful information like that available. The reason behind it is that I would like to see some more order in the layout list. Some kind of layout section/ categories or so would be nice, separated visually by a separator in the list. E.g. the theorem environments in one section, list like environments in another, and documents properties like author, date, institution in yet another. No idea if this is feasible with the information we have about layouts.

I like this idea, too. All we'd need to do is introduce a "Category" tag in the layout files, and I guess a corresponding enum. Should be quite simple, really, though going through all the layout files and adding a "Category Blah" tag will be a pain.

Then let's implement the infrastructure for that. I will add it to the layout popup as soon as I get the tag from the layout. That should be quite easy. About how many layout do we speak here which must be categorized?

Stefan

Reply via email to