On 11/08/2010 05:22 PM, Jean-Marc Lasgouttes wrote:
Le 8 nov. 10 à 20:29, Richard Heck a écrit :
On 11/07/2010 11:45 PM, Uwe Stöhr wrote:
Am 07.11.2010 21:59, schrieb Richard Heck:
Shouldn't "Use babel" really be a document setting, rather than a
preference?
Yes, definitively. Babel needs to be deactivated for some document
classes and can cause troubles when using XeTeX. XeTeX has its own
babel replacement and it might be possible that both can interfere.
I'll do this.
Are we sure that it is needed on a document basis? When I see how the
global language
settings are not going away while being clearly a hack, I have doubts.
Isn't it enough to disable it with XeTeX and use Provide babel 1 when
needed?
My sense, from the conversations here, is that there are times when one
wants to load some package in the preamble and one needs to disable the
automatic loading of babel. One could do "Provide babel 1" in the local
layout, but that's asking a lot of users. In this particular case, the
layout file really should use that, but it was format 2, so it's clear
why it doesn't.
What would really be best is if we had a central place, in
Document>Settings, where all such things could be set, for every package
we automatically load. Maybe a combo box listing them, and then when you
choose it, three radio buttons: Load Always, Load As Needed, Load Never.
Right now, we have quite a few such settings scattered about in
different places, for the math packages and other things. But users are
always asking for finer control of package loading with almost every
package we load.
Richard