>>>>> "Harri" == Harri Kiiskinen <[EMAIL PROTECTED]> writes:
Harri> In fact, it seems that the latex code produced by post-1.1.6
Harri> -versions of LyX include the babel-package after the
Harri> user-defined preamble content, not before, and this actually
Harri> produces errors when using certain LaTeX-packages in the
Harri> preamble. These packages need babel for some or other reason,
Harri> and therefore, babel needs to be included manually in the
Harri> preamble even though the language setting in
Layout-> Document->Language is correct.
Harri> This might be called a bug, although I can imagine there can be
Harri> a reason for the changed placement of
Harri> \usepackage[language1,langauge2]{babel}.
This is discussed in the following bug:
http://bugzilla.lyx.org/show_bug.cgi?id=315
>From what I read, it is often advised to load babel _after_ all other
packages (this is needed by cite.sty, for example).
I am taker of a better solution. For now, you can just add
\usepackage{babel} just before your package.
JMarc