CSL formatting for year disambiguation in bibliography

Hello. I am trying to modify the following CSL file

https://github.com/citation-style-language/styles/blob/master/din-1505-2-alphanumeric.csl

since it doesn't provide a year disambiguation method if an author posts two works within the same year. For me, the examples are:

```yaml
OverlappingDiv:
type: article
title: On Overlapping Divergences
author: Kreimer, Dirk
date: 1999
page-range: 669-689
url: https://doi.org/10.1007/s002200050661
serial-number:
doi: 10.1007/s002200050661
issn: 0010-3616
parent:
type: periodical
title: Comm. Math. Phys.
issue: 3
volume: 204

ChenIterated:
type: article
title: Chen's Iterated Integral Represents the Operator Product Expansion
author: Kreimer, D.
date: 1999
page-range: 627-670
url: https://doi.org/10.4310/ATMP.1999.v3.n3.a7
serial-number:
doi: 10.4310/ATMP.1999.v3.n3.a7
issn: 1095-0761
parent:
type: periodical
title: Adv. Theor. Math. Phys.
issue: 3
volume: 3
```
so currently they both come out as [Kre99]. I got it working for citations by modifying:

```xml



(added this)

```
and so entries come out looking like [Kre99a] and [Kre99b], but I can't get the associated bibliography entries working. The closest I've gotten is:

```xml











```
but in my case, this outputs

[Kre99 b] Kreimer, D.: Chen's Iterated Integral Represents the Operator Product Expansion. In: Adv. Theor. Math. Phys. vol. 3 (1999), No. 3, pp. 627–670

and not

[Kre99b] Kreimer, D.: Chen's Iterated Integral Represents the Operator Product Expansion. In: Adv. Theor. Math. Phys. vol. 3 (1999), No. 3, pp. 627–670

where "b]" is being treated as part of the actual bibliography entry. I cannot figure out why.

Any explanation and help is greatly appreciated.
  • When I try "DIN 1505-2 (alphanumeric, Deutsch) - standard superseded by ISO-690" (updated 2021-02-11T04:03:08+00:00) with your examples, I get:
    [Krei99a, Krei99b]
    [Krei99a] Kreimer, Dirk: Chen’s iterated integral represents the operator product expansion. In: Advances in Theoretical and Mathematical Physics Bd. 3 (1999), Nr. 3, S. 627–670
    [Krei99b] Kreimer, Dirk: On overlapping divergences. In: Communications in Mathematical Physics Bd. 204 (1999), Nr. 3, S. 669–689
    Not sure why it does not work for you.
  • Well isn't that exceptionally odd. Okay, I assume it has to do with what tool I'm using rather than the .csl file. Thanks for pointing that out.
  • You're using pandoc? I'd ask there, yes, these are borderline cases and the citation processors may behave slightly differently
  • Ah, yes, sorry. I did not pay attention it was not via the word processor plugins.
Sign In or Register to comment.