]> git.lyx.org Git - lyx.git/commitdiff
Show insets as text in the formatted bibliography entry.
authorJulien Rioux <jrioux@lyx.org>
Sat, 3 Dec 2011 22:24:38 +0000 (22:24 +0000)
committerJulien Rioux <jrioux@lyx.org>
Sat, 3 Dec 2011 22:24:38 +0000 (22:24 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40348 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBibitem.cpp

index 39076b9d997fdc8b0c8bba7043508894043a9f82..779ef7035c5cf2a1422a4897e3a05d0e64323d21 100644 (file)
@@ -318,7 +318,8 @@ void InsetBibitem::collectBibKeys(InsetIterator const & it) const
        keyvalmap.label(bibLabel());
        DocIterator doc_it(it);
        doc_it.forwardPos();
-       keyvalmap[from_ascii("ref")] = doc_it.paragraph().asString();
+       keyvalmap[from_ascii("ref")] = doc_it.paragraph().asString(
+               AS_STR_INSETS | AS_STR_SKIPDELETE);
        buffer().addBibTeXInfo(key, keyvalmap);
 }