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.
This commit is contained in:
parent
f9c6167ad1
commit
b876793910
3 changed files with 35 additions and 2 deletions
|
@ -7,4 +7,5 @@ package pandoc
|
|||
source-repository-package
|
||||
type: git
|
||||
location: https://github.com/jgm/citeproc
|
||||
tag: 0.1.0.2
|
||||
tag: 3230fb6fa1beff3e27389be20217a31d3c1207e9
|
||||
|
||||
|
|
|
@ -22,7 +22,8 @@ extra-deps:
|
|||
- commonmark-0.1.0.2
|
||||
- commonmark-extensions-0.2.0.1
|
||||
- commonmark-pandoc-0.2.0.1
|
||||
- citeproc-0.1.0.2
|
||||
- git: https://github.com/jgm/citeproc
|
||||
commit: 3230fb6fa1beff3e27389be20217a31d3c1207e9
|
||||
|
||||
ghc-options:
|
||||
"$locals": -fhide-source-paths -Wno-missing-home-modules
|
||||
|
|
31
test/command/6765.md
Normal file
31
test/command/6765.md
Normal file
|
@ -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.
|
||||
```
|
Loading…
Add table
Reference in a new issue