pandoc/test/command/6765.md
John MacFarlane b876793910 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.
2020-10-21 23:14:17 -07:00

31 lines
631 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

```
% 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,
4867. A place: A publisher, 2014.
[1] “A Book Chapter,” in A Book, ed. Edward Editor (A place: A
publisher, 2014), 55.
```