New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First author having full name in in-text citation (but just a few instances, not all citations) #2453
Comments
I am not sure to see what you are mentioning. Is the above having the issue ? I used a web CSL for reproducibility ( ---
title: "Test"
author: ""
date: "February 2023"
fontsize: 12pt
output: pdf_document
bibliography: test.bib
csl: https://www.zotero.org/styles/chicago-author-date
---
I have citations using both [@pereiraWhatConditionsPresidents2005] or Pereira, Power and Renno [-@pereiraWhatConditionsPresidents2005].
Otherwise can you share a screenshot of the wrong output ? Can you share the pandoc version you are using ? thanks |
Can you share with me more references in the bib file then to try out on my side ? it seems that using the first example providing which I try before you are having no issue like me right ? |
Possibly something related to disambiguation that we find in CSL spec . CSL for chicago style seems to have configuration about this - see its source I found this information in a possibly related issue in another tools that use Pandoc and Pandoc citeproc like R Markdown See quarto-dev/quarto-cli#4294 (comment) there. CSL for chicago style seems to have configuration about this - see its source |
Here goes the other references:
Following this reply, I tried once more without the second author and indeed there was no problem, so I will take a look at the links you provided and try to solve the issue. Thank you very much. |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
Hi there,
I am facing trouble with some of my in-text citations, in which they bring the full name of the first author. Curiously, this is happening with two authors with the same last name, distributed in five different papers.
Here is how the bibtex is formatted for one of the papers:
test.rmd
test.bib
Regardless on how I cite these papers (i.e., [@reference] or [-@reference]), it always bring the full name for the first author. I emphasize that this happens only with this name Pereira (there are two different authors with the same last name in this paper), and I have a few dozens of other authors cited but the issue does not happen with them.
I noticed that issue #586 had the same problem and it was suggested to use "citation_package: natbib" and "biblio-style: apalike". However, in this work I need to use Chicago style, so despite using the Chicago csl it will bring APA. I tried searching for a Chicago equivalent for biblio-style but could not find any.
I am using the latest versions of Rmarkdown and all packages I have installed. Thank you.
The text was updated successfully, but these errors were encountered: