From 3e5c9e51de576f6ce801822cf4fa62fc38321c77 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Sat, 3 Dec 2011 22:24:38 +0000 Subject: [PATCH] Show insets as text in the formatted bibliography entry. --- src/insets/InsetBibitem.cpp | 3 ++- status.20x | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/insets/InsetBibitem.cpp b/src/insets/InsetBibitem.cpp index 9443b0c2a8..3f631990d1 100644 --- a/src/insets/InsetBibitem.cpp +++ b/src/insets/InsetBibitem.cpp @@ -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); } diff --git a/status.20x b/status.20x index 2459609b36..f374531211 100644 --- a/status.20x +++ b/status.20x @@ -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 -- 2.39.5