]> git.lyx.org Git - features.git/commit
BufferParams.cpp: change the package loading to:
authorUwe Stöhr <uwestoehr@web.de>
Tue, 25 Sep 2007 21:20:57 +0000 (21:20 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Tue, 25 Sep 2007 21:20:57 +0000 (21:20 +0000)
commitc57143d6825b258eec2a6b778bc5d25438949719
tree384b549bc38a74541716f15e38d5f5cfc926985a
parent0f61e68ba7db3a0a5721eaba47fb7a86e09dbacc
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!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20508 a592a061-630c-0410-9148-cb99ea01b6c8
src/BufferParams.cpp