Lars, can you apply this patch to get rid of the command \bibliographystyle{} if no bibstyle is selected by existing bibfile. this causes problems with class-files which have their own style definition: than we get two commands in the aux-file. Logfile: missing bibstyle was \bibliographystyle{}. now changed to no latexcommand Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
--- insetbib.C.old Mon Aug 6 21:15:08 2001 +++ insetbib.C Thu Aug 16 14:01:40 2001 @@ -161,9 +161,9 @@ style = MakeAbsPath(getOptions(), buffer->filepath); else style = getOptions(); - - os << "\\bibliographystyle{" << style << "}\n" - << "\\bibliography{" << db_out << "}\n"; + if (style != "") + os << "\\bibliographystyle{" << style << "}\n"; + os << "\\bibliography{" << db_out << "}\n"; return 2; }