You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.
Where the movie’s name appears in the text, it should appear before/outside of the parenthetical citation (containing the year only in such cases) – but it appears inside the parentheses.
Example (csl file is a patched chicago-author-date.csl which includes director as secondary-contributor, pull request submitted; but the original chicago-author-date.csl shows both issues as well, as does chicago-fullnote-bibliography.csl):
pandoc -F pandoc-citeproc -t markdown-citations << EOT
# Text
@nbn is a spy thriller film.
@item1 is a book, for comparison.
# References
---
csl: https://github.com/citation-style-language/styles/raw/ae2167dcb86db405b65915d2be591cf764a808b5/chicago-author-date.csl
references:
- type: motion_picture
id: nbn
title: North by Northwest
director:
family: Hitchcock
given: Alfred
issued:
year: 1959
publisher: Metro-Goldwyn-Mayer
publisher-place: USA
language: en-US
- title: Book title
id: item1
issued:
year: 2013
author:
given: Al
family: Author
publisher: Publisher
type: book
...
EOT
Expected output:
Text
====
*North by Northwest* (1959) is a spy thriller film.
Author (2013) is a book, for comparison.
<div class="references">
References {#references .unnumbered}
==========
<div id="ref-item1">
Author, Al. 2013. *Book Title*. Publisher.
</div>
<div id="ref-nbn">
*North by Northwest.* 1959. Directed by Alfred Hitchcock. USA:
Metro-Goldwyn-Mayer.
</div>
</div>
Actual output:
Text
====
(“North by Northwest” 1959) is a spy thriller film.
Author (2013) is a book, for comparison.
<div class="references">
References {#references .unnumbered}
==========
<div id="ref-item1">
Author, Al. 2013. *Book Title*. Publisher.
</div>
<div id="ref-nbn">
“North by Northwest.” 1959. Directed by Alfred Hitchcock. USA:
Metro-Goldwyn-Mayer.
</div>
</div>
The text was updated successfully, but these errors were encountered:
OK, I'm about to push a fix for the improper treatment of the title (quoted rather than emphasized).
The other issue is a separate one. Since there is no author here, an AuthorInText citation behaves just like a normal one. We might consider modifying the behavior of AuthorInText citations (and renaming to something like InTextCitation), but that's a bigger change, with ramifications for any kind of item that lacks an author. So I suggest making a separate issue for that, and maybe discussing first on pandoc-discuss.
pandoc-citeproc does not render motion_picture titles as expected:
Example (csl file is a patched chicago-author-date.csl which includes director as secondary-contributor, pull request submitted; but the original chicago-author-date.csl shows both issues as well, as does chicago-fullnote-bibliography.csl):
Expected output:
Actual output:
The text was updated successfully, but these errors were encountered: