> The attached addresses http://bugzilla.lyx.org/show_bug.cgi?id=3650.
>
> Testing requested, as well as two commit OKs if it seems all right.
Works here as expected but we should wait for Jürgen's comment on this.
> NOTE: Some other issues I noticed here, which I'll put in bugzilla if it
> seems a good idea. (i) Take the same example file and open it. I get all
> labels as [1], at least with the patch.
Indeed, I didn't noticed this. This appears while I copied the items with their bibitem key from the
EmbeddedObjects manual to the example file. Please report this to bugzilla.
> (ii) Put the cursor at the end
> and hit return. The new InsetBibitem has label [1] rather than [4],
> which is what it seems it should have.
This is bug 2743:
http://bugzilla.lyx.org/show_bug.cgi?id=2743
(iii) Change the layout of one of
these paragraphs to Standard. Shouldn't the bibitem be erased? (This
could be handled in checkBiblio without too much effort.)
But this would break the bibliography. Our bib environment doesn't allow the break the bibitem list
with standard paragraphs for good reasons, so the change of a bibitem to another environment inside
the bib environment should not be possible.
regards Uwe