From 6c96340bf63df36c91d11d405af96da8b736eb56 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 22 Dec 2022 17:30:44 -0800 Subject: Support "software" type in biblatex <-> CSL conversions. Closes #8504. --- src/Text/Pandoc/Citeproc/BibTeX.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Text') 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" -- cgit v1.2.3