Uwe Stöhr a écrit :
Jean-Marc Lasgouttes schrieb:
Uwe> This won't work. Attached is my proposal.
What won't work?
You don't check if there is an empty babel language.
The list of languages passed to babelCall contains the main language.
So if the list is empty, the main language does not need babel either.
The logic of my code is simple: there is no point to load babel if it is
not configured to use any language. Since the list of languages is the
one passed to babelCall, we just test that. You just have to forget the
context in which you wrote your original code, but I believe that the
logic is better like that.
JMarc