Skip to content

CSL styles do not take CrossRef fields into account #7378

@Siedlerchr

Description

@Siedlerchr

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 = {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

FIX:
Should be getResolvedFieldOrAlias

for (Field key : bibEntry.getFieldMap().keySet()) {
bibEntry.getField(key)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions