Am 08.11.2010 23:22, schrieb Jean-Marc Lasgouttes:
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?
Yes.
When I see how the global language settings are not going away while being
clearly a hack, I have doubts.
What do you mean?
Isn't it enough to disable it with XeTeX and use Provide babel 1 when needed?
No, this issue is independent of XeTeX. It must be possible to turn off babel
for each document.
Now that I think of it, what is the exact effect of "use babel"? Just the
usepackage,
or more?
It adds \usepackage{babel} but also adds the used languages as option list for the \documentclass
command. The last language in this option list is the document language. When turning off-babel the
document language is English and the \documentclass command has no language options.
regards Uwe