]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.C
fix reading the author field.
[lyx.git] / src / LaTeXFeatures.C
index 9ad269db104854bbf04b5efdb9f14c4a20695592..67fcb20535e824dbc1fa4f2820f6573341b2b0b6 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "support/filetools.h"
 
-#include "support/std_sstream.h"
+#include <sstream>
 
 using lyx::support::IsSGMLFilename;
 using lyx::support::MakeRelPath;
@@ -194,7 +194,6 @@ char const * simplefeatures[] = {
        "dvipost",
        "fancybox",
        "calc",
-       "jurabib"
 };
 
 int const nb_simplefeatures = sizeof(simplefeatures) / sizeof(char const *);
@@ -309,6 +308,11 @@ string const LaTeXFeatures::getPackages() const
                packages << "]{natbib}\n";
        }
 
+       // jurabib -- we need version 0.6 at least.
+       if (isRequired("jurabib")) {
+               packages << "\\usepackage{jurabib}[2004/01/25]\n";
+       }
+
        // bibtopic -- the dot provides the aux file naming which
        // LyX can detect.
        if (isRequired("bibtopic")) {