andras-simonyi / citeproc-el

A CSL 1.0.2 Citation Processor for Emacs.
GNU General Public License v3.0
85 stars 9 forks source link

Map `type` to `genre` for `@jurisdiction` #65

Closed Quintus closed 2 years ago

Quintus commented 2 years ago

Dear all,

I would like to request that for @jurisdiction entries in Biblatex .bib files (-> legal_case in CSL) the type key is mapped to CSL's genre variable. The CSL style juristische-schulung.csl uses genre to differenciate the two major kinds of court decisions we have in German process law (“Urteil”, meaning there has been an oral hearing before the decision, and “Beschluss”, meaning there was none).

Currently I am abusing the note key with a custom adapted version of juristische-schulung.csl, but that doesn't quite cut it. genre seems much more sensible.

-quintus

Quintus commented 2 years ago

Example for a case entry in my .bib Biblatex files:

@Jurisdiction{bgh2013usedsoft-ii,
  author       = {BGH},
  type        = {Urteil},
  number       = {I ZR 129/08},
  eventdate    = {2013-07-17},
  shortjournal = {GRUR},
  journaltitle = {Gewerblicher Rechtsschutz und Urheberrecht},
  year = {2014},
  pages = {264-272},
  title     = {UsedSoft II},
  commentator = {Malte Stieper}
}
andras-simonyi commented 2 years ago

Thanks for the suggestion! I've just merged a PR implementing this.

Quintus commented 2 years ago

Works like a charm! Thank you so much.

-quintus