diff --git a/src/Text/Pandoc/Citeproc/BibTeX.hs b/src/Text/Pandoc/Citeproc/BibTeX.hs index 06696bcf3..14f3a7af0 100644 --- a/src/Text/Pandoc/Citeproc/BibTeX.hs +++ b/src/Text/Pandoc/Citeproc/BibTeX.hs @@ -1209,7 +1209,7 @@ getTypeAndGenre = do | otherwise -> "article-journal" "book" -> "book" "booklet" -> "pamphlet" - "bookinbook" -> "chapter" + "bookinbook" -> "book" "collection" -> "book" "dataset" -> "dataset" "electronic" -> "webpage" diff --git a/test/command/biblatex-crossref-nested.md b/test/command/biblatex-crossref-nested.md index bf9d236a4..3b5b5acf6 100644 --- a/test/command/biblatex-crossref-nested.md +++ b/test/command/biblatex-crossref-nested.md @@ -53,7 +53,7 @@ references: publisher: Publisher publisher-place: Location title: Macbeth \[title field of bookinbook-1\] - type: chapter + type: book volume: 3 volume-title: Tragedies \[title field of book-1\] - author: