]> git.lyx.org Git - features.git/commitdiff
fix halfway converted bibtex inset
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 17 Dec 2010 21:35:27 +0000 (21:35 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 17 Dec 2010 21:35:27 +0000 (21:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36928 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/text.cpp

index 3899601e98e119519c9ef427a7095204867b3589..6401561729b3c0d0df7039c07da90764a80e0170 100644 (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())