Jean-Marc Lasgouttes wrote:
Enrico Forestieri <[EMAIL PROTECTED]> writes:
This is needed because hyperref should be loaded after babel but
has to be loaded before the LyX-specific stuff. The LyX-specific
stuff has to be loaded before the user preamble.
It shouldn't harm to load babel before the user preamble, I even
think this is an advantage because many packages need the loaded
babel for translations and the users are able to change babel
translation.
A typical example, cited in bug 315, is
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg34407.html
[see section 6]
I have always taken it for granted that babel should be the last
package, maybe with the exception of hyperref. I cannot find another
link to this assertion, but found this file, which explains why I was
afraid of supporting hyperref :)
http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/README
It looks like the crucial question, really, is: What packages have to be
loaded AFTER hyperref? Most things need to be loaded before.
But there is the more general issue illustrated by bug 315, etc. I don't
know how to address that.
rh