From b87679391085c077ca0b1f5dcdc93e40ba1499c6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 21 Oct 2020 23:14:17 -0700 Subject: Use latest citeproc. This fixes a problem with author-in-text citations for references including both an author and an editor. Previously, both were included in the text, but only the author should be. Closes #6765. Added a test. --- test/command/6765.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 test/command/6765.md (limited to 'test') diff --git a/test/command/6765.md b/test/command/6765.md new file mode 100644 index 000000000..8836d7223 --- /dev/null +++ b/test/command/6765.md @@ -0,0 +1,31 @@ +``` +% pandoc --citeproc -t plain +@book_chapter_1 [55] says blah. + +--- +csl: command/chicago-fullnote-bibliography.csl +references: +- id: book_chapter_1 + author: + - family: Author + given: Ann + container-title: A book + editor: + - family: Editor + given: Edward + issued: 2014 + page: 48-67 + publisher: A publisher + publisher-place: A place + title: A book chapter + type: chapter +... +^D +Ann Author[1] says blah. + +Author, Ann. “A Book Chapter.” In A Book, edited by Edward Editor, +48–67. A place: A publisher, 2014. + +[1] “A Book Chapter,” in A Book, ed. Edward Editor (A place: A +publisher, 2014), 55. +``` -- cgit v1.2.3