typst / hayagriva

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

APA bibliography is wrong with names with particles like "Joey de Vries" #147

Open St0wy opened 3 months ago

St0wy commented 3 months ago

Description

If you add an author to a bibliography that has a particle name, it will not be shown according to the APA rules. For example if you add "Joey de Vries" as "de Vries, Joey" in the author field, it should be displayed as "de Vries, J." but it is displayed as "Vries, J. de.".

image

This can be worked around by using verbatim, but it's not ideal. For example:

learn-opengl:
  type: web
  title: Shadow Mapping
  author:
    name: de Vries, J.
    verbatim: true
  url: https://learnopengl.com/Advanced-Lighting/Shadows/Shadow-Mapping
  parent:
    type: web
    title: Learn OpenGL
  date: 2014-06

Reproduction URL

No response

Operating system

Windows

Typst version