Georg Baum wrote:
Forget preamble fiddling in lyx2lyx. It is not worth it IMHO, because there
are so many cases that are impossible to handle with reasonable effort. I
mentioned the included .tex file in bugzilla. Apart from that there is a
more fundamental problem: What do you want to do with
\usepackage[a,b,c]{babel}
? If you keep it, the document will not be compilable. If you remove it, the
output could change in a subtle way (even worse IMO), or the document could
be uncompilable too.
OK, then it seems that allowing some kind of advanced editing of the
hidden LyX preamble is the way to go (as you described in
http://bugzilla.lyx.org/show_bug.cgi?id=5031).
Abdel.