# Cross-references in preview

**URL:** <https://discourse.jabref.org/t/cross-references-in-preview/2517>\
**Category:** Help\
**Created:** [January 21, 2021, 9:07pm UTC](https://discourse.jabref.org/t/cross-references-in-preview/2517 "2021-01-21T21:07:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wrathkeg](https://avatars.discourse-cdn.com/v4/letter/w/e47774/32.png) [@wrathkeg](https://discourse.jabref.org/u/wrathkeg)\
**Post date:** [January 21, 2021, 9:07pm UTC](https://discourse.jabref.org/t/cross-references-in-preview/2517/1 "2021-01-21T21:07:21Z")

</div>

Hello,

I have the following entries in my bibliography:

@InCollection{smit2021,  
author = {Smith, Bob},  
title = {An article},  
pages = {1-10},  
crossref = {jone2021},  
}

@Book{jone2021,  
editor = {Jones, John},  
publisher = {Great Publisher},  
title = {A book},  
year = {2021},  
address = {Somewhere},  
}

When using the default entry preview (“Customized preview style”), the preview includes information from the cross-referenced entry:

**InCollection** (smit2021)

Smith, Bob  
**An article**  
2021

Jones, John (Ed.)  
Great Publisher: Somewhere  
p. 1-10

But if I try other preview styles, there is no information from the cross-referenced entry. For example, this is what I get from the APA 7th edition style (and I’ve seen the same thing in other styles):

Smith, B. _An article_ (pp. 1–10).

Is it only possible to show the information from the cross-referenced entry in the customized preview style?

Thanks

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [January 22, 2021, 8:08pm UTC](https://discourse.jabref.org/t/cross-references-in-preview/2517/2 "2021-01-22T20:08:36Z")

</div>

Thanks for using JabRef and thanks for your report.

You encountered a bug, I took a quick look at the code. The method for generating the other styles does not resolve the crossref fields before generating the styles.

I will transfer this to our GitHub repository issue tracker.

> <https://github.com/JabRef/jabref/issues/7378>
>
> Bug report from the Forum
> I have the following entries in my bibliography:
> 
> @InCollection{smit2021,
> author = {Smith, Bob},
> title = {An article},
> pages = {1-10},
> crossref =...

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [January 28, 2022, 5:30pm UTC](https://discourse.jabref.org/t/cross-references-in-preview/2517/3 "2022-01-28T17:30:02Z")

</div>

@wrathkeg It’s been some time (literally a year), but the feature is now implemented.  
The new version will be available in half an hour,

> **[index - powered by h5ai v0.29.0 (https://larsjung.de/h5ai/)](https://builds.jabref.org/main/)**
>
> index - powered by h5ai v0.29.0 (https://larsjung.de/h5ai/)

Please remember to make a backup of your library when trying out the new version.
