// ale970405+lasgoutt970425
// The argument can be up to two tokens separated
// by a space. The first one is the bibstyle.
- string const db = token(ev.argument, ' ', 0);
- string const bibstyle = token(ev.argument, ' ', 1);
+ string const db = token(ev.argument, ' ', 0);
+ string bibstyle = token(ev.argument, ' ', 1);
+ if (bibstyle.empty())
+ bibstyle = "plain";
InsetCommandParams p("BibTeX", db, bibstyle);
InsetBibtex * inset = new InsetBibtex(p);
+2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
+
+ * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
+ style if style is not specified.
+
2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* text2.C (setCounter): when searching for right label for a