Jean-Marc Lasgouttes schrieb:
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.
Yesterday I stumbled over this code:
\documentclass[english,brazilian, 11pt]{article}
\usepackage[french, ngerman]{babel}
This code is stupid but valid. The document language taken by babel is in this case "ngerman". The
patch takes care of this.
regards Uwe