typst / hayagriva

Rusty bibliography management.
Apache License 2.0
350 stars 55 forks source link

Mismatched legal case document types between biblatex, hayagriva and typst/CSL #249

Open felixrindt opened 2 weeks ago

felixrindt commented 2 weeks ago

I exported a biblatex file from Zotero with @jurisdiction entries with a number = {ABC 123} entry. I'm building a custom csl file and want to show that case number in my typst document citation. When I put <text variable="title"/> in the corresponding spot I got a title, but when I put <text variable="number"/> I didn't get the number. I worked through the variable names on https://docs.citationstyles.org/en/stable/specification.html?highlight=legal%20case#number-variables Turns out it is <text variable="issue"/> 🎉 I also tried filtering for the type, turns out it's not legal_case from csl, not case from hayagriva, but document in csl and misc in hayagriva 🙈

It seems that at least for legal cases, there's a mismatch between how the various systems handle this document type.