Skip to content

Typo for the bibtex type "jurisdiction" #11321

@marviro

Description

@marviro

The mapping csljson2biblatex contains a typo:

https://github.com/jgm/pandoc/blob/main/src/Text/Pandoc/Citeproc/BibTeX.hs#L120

      "legal_case"        | variant == Biblatex -> "jurisdictionN"

should be:

      "legal_case"        | variant == Biblatex -> "jurisdiction"

Now if I have a csljson like:

  {
    "ISBN": "978-1-4039-3504-5 978-1-137-44042-6",
    "author": [
      {
        "family": "McCarty",
        "given": "Willard"
      }
    ],
    "id": "test",
    "issued": {
      "date-parts": [
        [
          2005
        ]
      ]
    },
    "publisher": "Palgrave Macmillan",
    "title": "Humanities Computing",
    "type": "legal_case"
  }

Thanks @YvesMarcoux for identifiyng the bug.


the command

pandoc -f csljson bibtest.json -t biblatex

produces:

@jurisdictionN{test,
  author = {McCarty, Willard},
  publisher = {Palgrave Macmillan},
  title = {Humanities {Computing}},
  date = {2005},
  isbn = {978-1-4039-3504-5 978-1-137-44042-6}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions