]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.cpp
Add a document-wide default bibliography style \biblio_style.
[lyx.git] / src / insets / InsetBibtex.cpp
index 9f85e2db6a2445b7a1a0db43a5a3b85098e30410..bd956330d802d213aea1835bf0fdd4858e1577e9 100644 (file)
@@ -336,6 +336,9 @@ void InsetBibtex::latex(otexstream & os, OutputParams const & runparams) const
                        style = split(style, bibtotoc, ',');
        }
 
+       if (style == "default")
+               style = buffer().params().biblio_style;
+
        if (!style.empty()) {
                string base = normalizeName(buffer(), runparams, style, ".bst");
                FileName const try_in_file =