fix halfway converted bibtex inset

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36928 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2010-12-17 21:35:27 +00:00
parent 7610b9add5
commit 86f320f6e0

View File

@ -2545,8 +2545,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
else if (t.cs() == "bibliography") {
context.check_layout(os);
begin_command_inset(os, "bibliography", "bibliography");
os << "bibtex" << "\n";
begin_command_inset(os, "bibtex", "bibtex");
os << "bibfiles " << '"' << p.verbatim_item() << '"' << "\n";
// Do we have a bibliographystyle set?
if (!bibliographystyle.empty())