On 12/03/2011 05:24 PM, [email protected] wrote:
> Author: jrioux
> Date: Sat Dec  3 23:24:38 2011
> New Revision: 40348
> URL: http://www.lyx.org/trac/changeset/40348
>
> Log:
> Show insets as text in the formatted bibliography entry.
>
Probably also for branch? That said, can you tell me what the issue was
here?

Richard

> Modified:
>    lyx-devel/trunk/src/insets/InsetBibitem.cpp
>
> Modified: lyx-devel/trunk/src/insets/InsetBibitem.cpp
> ==============================================================================
> --- lyx-devel/trunk/src/insets/InsetBibitem.cpp       Sat Dec  3 23:24:30 
> 2011        (r40347)
> +++ lyx-devel/trunk/src/insets/InsetBibitem.cpp       Sat Dec  3 23:24:38 
> 2011        (r40348)
> @@ -318,7 +318,8 @@
>       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);
>  }
>  

Reply via email to