On Wed, 18 Jun 2003, Matej Cepl wrote:

> On 2003-06-18, 23:17 GMT, Pedro Tejedor wrote:
> > - As I use some of the features of the spanish package, I had to load
> > babel by hand at the begining of the document, with the option
> > spanish.  Is there a proper solution to this (or should I say a lyx
> > solution)?  Anyway, is something I can live with.
>
> Layout/Document/Language
>
In fact, it seems that the latex code produced by post-1.1.6 -versions
of LyX include the babel-package after the user-defined preamble
content, not before, and this actually produces errors when using
certain LaTeX-packages in the preamble. These packages need babel for
some or other reason, and therefore, babel needs to be included manually
in the preamble even though the language setting in
Layout->Document->Language is correct.

This might be called a bug, although I can imagine there can be a reason
for the changed placement of \usepackage[language1,langauge2]{babel}.

Greetings,

Harri Kiiskinen

Reply via email to