Ralf Goertz wrote: > Okay it works with ERT. But wouldn't it be nice if it were possible with pure > LyX? E.g. it would be nice to be able to have an empty enum-line. I know > there are good reasons not to allow it. I use my own layout file. Therefore I > would like to have a switch in that layout file that tells LyX not to erase > an empty line in enumerate and if it encounters one not to insert a empty > line. Then I could increase the depth of the following line and use another > environment and would get what I want. Just a suggestion.
modify the layoutfile. - copy stdlists.inc from /usr/local/share/lyx/layouts into ~/.lyx/layouts - insert a line KeepEmpty 1 into the enumerate style from now you get an empty enumerate line Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/