>>>>> "Laurent" == Laurent Grawet <[EMAIL PROTECTED]> writes:
Laurent> For example I use \bsc command in the user latex commands.
Laurent> The \bsc command is from babel package which is defined by
Laurent> LyX but, for some unknown reason, after the user commands.
Could you give a specific example? I do not see why you could not use
\bsc in some definitions before loading babel. The macro is not going
to be expanded before \begin{document}...
Laurent> So I have to also define babel package in user latex commands
Laurent> (latex preamble). The result is double definition of
Laurent> \usepackage{babel}.
Not really, since \usepackage does nothing when used several times.
Laurent> It should be good to correct this and insure user latex
Laurent> commands are the last before the begin of the document.
Typically, the babel package is supposed to be loaded after all other
packages (except some, of course ;). Package ordering is tricky with
latex, but I do not think your example is such a case.
JMarc