Jean-Marc Lasgouttes wrote:
Richard Heck <[EMAIL PROTECTED]> writes:
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.
Yes. But the category should be a string rather than a hardcoded enum
IMO.
My plan was to have e.g.
Category Section
in layout files, but then to use an enum in Layout.cpp. If you prefer a
string in the latter case, I can use one, but I'm guessing that's not
what you meant.
Before I do this, I suppose we should talk about what categories we want
to have. I thought of these:
FrontMatter (title, author, date, address, abstract, etc)
Section (section, chapter, part, ...)
Starred (section*, chapter*, ...)
Theorem
List (list, enumerate, description...)
Text (Standard, quote, quotation, verse, LyX-Code)
BackMatter (bibliography)
I'm not sure what to do with letter-related stuff. I guess the
head-of-letter stuff could be categorized as FrontMatter; end-of-letter
stuff as BackMatter?
Richard
rh