From 7777de6adb166d92b4c9ee4b24054637ab8477b7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 27 Mar 2026 23:56:08 -0400 Subject: [PATCH] BibLaTeX inbook should be CSL book, not chapter. Closes #11552. --- src/Text/Pandoc/Citeproc/BibTeX.hs | 2 +- test/command/biblatex-crossref-nested.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: