Insert insetbibtex with "plain" style

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5029 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2002-08-20 12:14:00 +00:00
parent 1776a3d0af
commit 8d72afd0ec
2 changed files with 9 additions and 2 deletions

View File

@ -2935,8 +2935,10 @@ bool BufferView::Pimpl::dispatch(FuncRequest const & ev)
// 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);

View File

@ -1,3 +1,8 @@
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