Uwe Stöhr <uwesto...@web.de> writes:
> Now I found the time. I improved your patch because I found two other
> bugs in the document language handling:
>  - when languages are given in the documentclass options _and_ the
> babel options, babel takes the last language option of the \usepackage
> call

OK. Note that the real mechanism is the following:
- each \usepackage considers the global documentclass options and then
the options passed to the usepackage call. We should try to emulate this
generally, but there are some problems related to which options should
be kept in the .lyx file
- babel uses the last given language as main language

The combination of the two mechanisms give the behaviour you describe.

JMarc

Reply via email to