On Tue, Sep 25, 2007 at 09:20:59PM -0000, [EMAIL PROTECTED] wrote: > Author: uwestoehr > Date: Tue Sep 25 23:20:57 2007 > New Revision: 20508 > > URL: http://www.lyx.org/trac/changeset/20508 > Log: > BufferParams.cpp: change the package loading to: > > former now > needed packages needed packages > --- babel > hyperref hyperref > LyX-specific stuff LyX-specific stuff > user preamble user preamble > babel --- > > 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. > > The new scheme compile fine with all LyX docs and my German math manual. When > you have an example where this scheme doesn't work, please shout!
Those who don't learn from history are condemned to repeat it. From src/ChangeLog: 2001-10-04 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * BufferView_pimpl.C (tripleClick): fix stupid logic error. * LaTeXFeatures.C: remove special case of french and index * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just before \begin{document}). This solves several incompatibilities. -- Enrico