Skip to content

Style din-1505-2-alphanumeric.csl produces disambiguous cite labels #7601

@Firegate1075

Description

@Firegate1075

According to csl spec version 1.0.2 the year-suffix is only automatically appended to the first occurence of cs:date in cite and the bibliography entry:

By default, the year-suffix is appended the first year rendered through cs:date in the cite and in the bibliographic entry, but its location can be controlled by explicitly rendering the “year-suffix” variable using cs:text.

In din-1505-2-alphanumeric.csl, the year-suffix-disambiguation is enabled, but the "year-suffix" variable is not accessed in the citation.
Accordingly, two entrys by the same author in the same year will produce the same citation, since the only accessed variable is "cite-label" through cs:text.

If the intended behaviour for this style is the citations [Doe07a], [Doe07b], then the style file needs to explicitly render <text variable="year-suffix>.
The same citation label should be rendered in the bibliography entry. This requires, as far as I can tell, the use of "left-margin" and "right-inline" over "second-field-align", since multiple fields (cite-label and year-suffix) are required for the citation label.

I have modified the file to produce citations that are disambiguated by explicitly rendered year-suffix and are consistent between citation and bibliography entry: Firegate1075/csl-styles@8e4e56a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions