]> git.lyx.org Git - features.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>
Sun, 26 May 2013 17:39:10 +0000 (19:39 +0200)
src/insets/InsetBibitem.cpp
status.20x

index 9443b0c2a80696d82f7c570eddaecfcce780e6f7..3f631990d11733b2e88e6858cc7703977e3270a4 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);
 }
 
index 2459609b3620c8be7a9fa1fd294a52f303f739ff..f374531211258a07362bcb9275fa2d604c65b30f 100644 (file)
@@ -69,6 +69,8 @@ What's new
 
 - Update a bibliography entry's label also when it is emptied.
 
+- Insets in a bibliography entry are shown as text in the citation dialog.
+
 
 * DOCUMENTATION AND LOCALIZATION