]> git.lyx.org Git - features.git/commitdiff
check for jurabib version
authorJürgen Spitzmüller <spitz@lyx.org>
Fri, 23 Jul 2004 16:03:39 +0000 (16:03 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Fri, 23 Jul 2004 16:03:39 +0000 (16:03 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8845 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/LaTeXFeatures.C

index a6b1fa2d08de7c8df2a0d0815c9119f7e35569b0..6577f39648f505a87a515d2eb2e4d00572ee54a9 100644 (file)
@@ -1,3 +1,7 @@
+2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
+
+       * LaTeXFeatures.C: check release date when loading jurabib.
+
 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
 
        * lyxserver.C (startPipe): call register_socket_callback
index 9ad269db104854bbf04b5efdb9f14c4a20695592..406d50e49386f9410660c577077f5cae7e7d7ceb 100644 (file)
@@ -194,7 +194,6 @@ char const * simplefeatures[] = {
        "dvipost",
        "fancybox",
        "calc",
-       "jurabib"
 };
 
 int const nb_simplefeatures = sizeof(simplefeatures) / sizeof(char const *);
@@ -308,6 +307,11 @@ string const LaTeXFeatures::getPackages() const
                }
                packages << "]{natbib}\n";
        }
+       
+       // jurabib -- we need version 0.6 at least.
+       if (isRequired("jurabib")) {
+               packages << "\\RequirePackage{jurabib}[2004/01/25]\n";
+       }
 
        // bibtopic -- the dot provides the aux file naming which
        // LyX can detect.