Jean-Marc Lasgouttes schrieb:
If you are going this route, please investigate all the theorems environments of all layouts (it is not so difficult, probably only a handful need to be fixed).
I'll do this.
In general, what I do not like much in this solution is that we handle a particular layout and give it unexpected behaviour. For example, if you use Return at the _end_ of a theorem, it will happily add empty lines. Kind of return to msword time.
I don't understand. It is valid LaTeX to have empty environments, and in the case I described in the bug report you need this to start environments at the first theorem line.
I agree that the problem that is handled there is real [*], but I do not like much the solution. I think I'd prefer reverting the trunk patch that propagating to branch.
But this is in contrary to what you wrote above.
[*] actually, now that I think of it, my main problem with theorem and enumerations in LaTeX have always been that I had to force manually a return.
But don't need to do this. What exactly do you mean?
I personally hate this habit of starting enumeration just after the theorem label...
Personally I also don't like having environments started at the first Theorem line, but this is no reason to forbid this. I was contacted by a math professor who needs this output. My patch doesn't change the idea of LyX of WYSIWYM and inserting environments to theorems is the same as before. It just allows what LaTeX allows.
regards Uwe