diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-12-22 17:30:44 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-12-22 17:30:44 -0800 |
| commit | 6c96340bf63df36c91d11d405af96da8b736eb56 (patch) | |
| tree | 2a08e6fb24d0942a2322f2a77f9c25a3413bece6 /src/Text/Pandoc/Citeproc | |
| parent | ee6cf1b8bfecd743de6f5c605c7fccf33bee0088 (diff) | |
Support "software" type in biblatex <-> CSL conversions.
Closes #8504.
Diffstat (limited to 'src/Text/Pandoc/Citeproc')
| -rw-r--r-- | src/Text/Pandoc/Citeproc/BibTeX.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Citeproc/BibTeX.hs b/src/Text/Pandoc/Citeproc/BibTeX.hs index 648d35a90..fd5ab68be 100644 --- a/src/Text/Pandoc/Citeproc/BibTeX.hs +++ b/src/Text/Pandoc/Citeproc/BibTeX.hs @@ -121,7 +121,8 @@ writeBibtexString opts variant mblang ref = "treaty" | variant == Biblatex -> "legal" "personal_communication" | variant == Biblatex -> "letter" "motion_picture" | variant == Biblatex -> "movie" - "review" | variant == Biblatex -> "review" + "review" | variant == Biblatex -> "review" + "software" | variant == Biblatex -> "software" _ -> "misc" mbSubtype = @@ -1249,7 +1250,7 @@ getTypeAndGenre = do "proceedings" -> "book" "reference" -> "book" "report" -> "report" - "software" -> "book" -- no "software" type in CSL + "software" -> "software" "suppbook" -> "chapter" "suppcollection" -> "chapter" "suppperiodical" |
