diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2020-10-21 23:14:17 -0700 | 
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2020-10-21 23:14:17 -0700 | 
| commit | b87679391085c077ca0b1f5dcdc93e40ba1499c6 (patch) | |
| tree | d69fd5a25e967437cc5987280c5ab9462e2d5bdf /test/command | |
| parent | f9c6167ad123032b67f300b2478466063e0ac6f6 (diff) | |
| download | pandoc-b87679391085c077ca0b1f5dcdc93e40ba1499c6.tar.gz | |
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.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/6765.md | 31 | 
1 files changed, 31 insertions, 0 deletions
| 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. +``` | 
