typst / hayagriva

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

[Citation/APA] editor is not used as author fallback #163

Open marvin-kolja opened 3 months ago

marvin-kolja commented 3 months ago

Description

When citing a video from, e.g. YouTube, the following BibLaTeX entry does not work correctly for citing the author directly.

@video{appleinc.AppleWWDC20142014,
  entrysubtype = {video},
  title = {Apple - {{WWDC}} 2014},
  editor = {{Apple Inc.}},
  date = {2014-06-04},
  url = {https://www.youtube.com/watch?v=w87fOAG8fjk},
  urldate = {2024-03-24},
  abstract = {Watch as Apple previews iOS 8 and OS X Yosemite — all-new and more powerful than ever versions of the operating systems for iPhone, iPad, and Mac — at WWDC 2014. http://www.apple.com/?cid=www-us-yt-w...}
}

#cite(<appleinc.AppleWWDC20142014>, form: "author") does not return anything. Is this the expected behaviour?

[!NOTE] Usually, there is also editortype = {director}, but it's not accepted as a key/value.

Reproduction URL

https://typst.app/project/rEGna4Id6ESwkgCVKLTK23

Operating system

Web app, macOS

Typst version