typst / hayagriva

Rusty bibliography management.
Apache License 2.0
289 stars 44 forks source link

Name prefixes are not displayed in citations #158

Open luerhard opened 2 months ago

luerhard commented 2 months ago

Description

The biblatex extended name format supports name prefixes which are supposed to be attached to the family name ("de" within the name "de Vreese" in the case below).

steps to reproduce

The reference file is: references.bib

@article{devreesePopulismExpressionPolitical2018,
  title = {Populism as an Expression of Political Communication Content and Style: A New Perspective},
  author = {family=Vreese, given=Claes H., prefix=de, useprefix=true and Esser, Frank and Aalberg, Toril and Reinemann, Carsten and Stanyer, James},
  date = {2018-10},
  journaltitle = {The International Journal of Press/Politics},
  volume = {23},
  number = {4},
  pages = {423--438},
  issn = {1940-1612, 1940-1620},
  doi = {10/gf3gnj},
}

The .typ file is

@devreesePopulismExpressionPolitical2018

#bibliography("references.bib", style: "apa")

This results in the output:

image

expected output

whereas the expected output would be (according to the CSL style APA 7th edition english in Zotero):

(de Vreese et al., 2018)

de Vreese, C. H., Esser, F., Aalberg, T., Reinemann, C., & Stanyer, J. (2018). Populism as an expression of political communication content and style: A new perspective. The International Journal of Press/Politics, 23(4), 423–438. https://doi.org/10/gf3gnj

notes

Reproduction URL

No response

Operating system

macOS

Typst version