mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
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:
parent
1776a3d0af
commit
8d72afd0ec
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user