Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upDisambiguation by initials #408
Comments
This comment has been minimized.
This comment has been minimized.
Could you say what output you were expecting here? |
This comment has been minimized.
This comment has been minimized.
I think that this is what it should be:
If I understand what's described at http://docs.citationstyles.org/en/1.0.1/specification.html#disambiguation correctly, there should be disambiguation of ambiguous names, e.g., 'Smith', by adding an initial, but only the first name in each citation. So 'Smith (2018)' should be 'M. Smith 2019'. That's with the |
This comment has been minimized.
This comment has been minimized.
adam3smith
commented
Jul 18, 2019
Hi -- co-maintainer of CSL here. i.e. in the example above, we would expect Hope that makes sense |
This comment has been minimized.
This comment has been minimized.
Thanks @adam3smith It looks like what I ought to have expected, the correct behaviour, is this:
|
twsh commentedJul 17, 2019
I have found some behaviour that seems strange to me. I have a bibliography like this:
And a markdown file like this:
The output from
$ pandoc --bibliography=mwe.bib mwe.md
is:What seems to be happening is that when an initial is added to disambiguate an author in a citation, other items with that author and the same year also have an initial added. Items with a different year do not.
Because I am not specifying a CSL file, the behaviour must be coming from the default chicago-author-date.csl. If I use a CSL file which uses the default disambiguation rule (
givenname-disambiguation-rule="by-cite"
), I get no initials.This might be related to #38
I am using pandoc 2.2.1 and pandoc-citeproc 0.14.3.1.