Skip to content
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

Bug report: name disambiguation in bibliography #149

Open
zepinglee opened this issue Jul 2, 2022 · 0 comments
Open

Bug report: name disambiguation in bibliography #149

zepinglee opened this issue Jul 2, 2022 · 0 comments

Comments

@zepinglee
Copy link

The disambiguation process should be also applied to the names in ambiguous references.

2ab195a output:

Diff < left / right > :
 <div class="csl-bib-body">
 <div class="csl-entry">J Roe</div>
<<div class="csl-entry">J Doe</div>
<<div class="csl-entry">J Doe</div>
><div class="csl-entry">John Doe</div>
><div class="csl-entry">Jack Doe</div>
 </div>
>>===== MODE =====>>
bibliography
<<===== MODE =====<<

>>===== RESULT =====>>
<div class="csl-bib-body">
  <div class="csl-entry">J Roe</div>
  <div class="csl-entry">John Doe</div>
  <div class="csl-entry">Jack Doe</div>
</div>
<<===== RESULT =====<<


>>===== CSL =====>>
<style
      xmlns="http://purl.org/net/xbiblio/csl"
      class="note"
      version="1.0">
  <info>
    <id />
    <title />
    <updated>2009-08-10T04:49:00+09:00</updated>
  </info>
  <citation
         disambiguate-add-givenname="true"
         givenname-disambiguation-rule="by-cite">
    <layout delimiter="; ">
      <names variable="author">
        <name initialize-with="" />
      </names>
    </layout>
  </citation>
  <bibliography>
    <layout delimiter="; ">
      <names variable="author">
        <name initialize-with="" />
      </names>
    </layout>
  </bibliography>
</style>
<<===== CSL =====<<


>>===== CITATION-ITEMS =====>>
[
    [
        {
            "id": "ITEM-1"
        }
    ],
    [
        {
            "id": "ITEM-2"
        },
        {
            "id": "ITEM-3"
        }
    ]
]
<<===== CITATION-ITEMS =====<<


>>===== INPUT =====>>
[
    {
        "author": [
            {
                "family": "Roe",
                "given": "Jane"
            }
        ],
        "id": "ITEM-1",
        "type": "book"
    },
    {
        "author": [
            {
                "family": "Doe",
                "given": "John"
            }
        ],
        "id": "ITEM-2",
        "type": "book"
    },
    {
        "author": [
            {
                "family": "Doe",
                "given": "Jack"
            }
        ],
        "id": "ITEM-3",
        "type": "book"
    }
]
<<===== INPUT =====<<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant