]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.C
fix reading the author field.
[lyx.git] / src / LaTeXFeatures.C
index 9cbbc3288c564c9e76c60aa34443f15740d92782..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;
@@ -41,6 +41,8 @@ using std::ostream;
 using std::ostringstream;
 using std::set;
 
+namespace biblio = lyx::biblio;
+
 
 LaTeXFeatures::LaTeXFeatures(Buffer const & b, BufferParams const & p, bool n)
        : buffer_(&b), params_(p), nice_(n)
@@ -192,7 +194,6 @@ char const * simplefeatures[] = {
        "dvipost",
        "fancybox",
        "calc",
-       "jurabib"
 };
 
 int const nb_simplefeatures = sizeof(simplefeatures) / sizeof(char const *);
@@ -307,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")) {