]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.cpp
Add babelbib, bibgerm, chscite, and opcit to LaTeXFeatures.
[lyx.git] / src / LaTeXFeatures.cpp
index e4f563a456faf5b378792678d1b0b714979bea85..4cbdea6953eee8c10a71152dd55642932edb3d5a 100644 (file)
@@ -742,7 +742,10 @@ char const * bibliofeatures[] = {
        "apalike",
        "astron",
        "authordate1-4",
+       "babelbib",
+       "bibgerm",
        "chicago",
+       "chscite",
        "harvard",
        "mslapa",
        "named"
@@ -971,6 +974,14 @@ string const LaTeXFeatures::getPackages() const
        if (mustProvide("jurabib"))
                packages << "\\usepackage{jurabib}[2004/01/25]\n";
 
+       // opcit -- we pass custombst as we output \bibliographystyle ourselves
+       if (mustProvide("opcit")) {
+               if (isRequired("hyperref"))
+                       packages << "\\usepackage[custombst,hyperref]{opcit}\n";
+               else
+                       packages << "\\usepackage[custombst]{opcit}\n";
+       }
+
        // xargs -- we need version 1.09 at least
        if (mustProvide("xargs"))
                packages << "\\usepackage{xargs}[2008/03/08]\n";