disambiguate-add-year-suffix not working when data is "n.d." / "no date"-term

Hi all,

I essentially have the same problem described here in 2015, but I am afraid I have not managed to fix it so far: https://forums.zotero.org/discussion/54741/scope-of-disambiguate-add-year-suffix

The situation: I have multiple sources with the same author and no date (multiple updated websites by the European Commission and other organizations) and I am required to use the MISQ citations style.

The problem:

While the disambiguation with suffixes works as intended for citations with years, e.g.:

...climate neutral and smart cities (DG RTD 2021b). The...

the same is not the case if there is no date, e.g.:

... web application by NetZeroCities (NetZeroCities n.d., n.d.). ...

So there is essentially disambiguation for these in-text citations, and I have been struggling with a fix. disambiguate-add-year-suffix="true" is already included and works for entires with a year.


These are the relevant sections from the style:


#1 The year-issued macro

[...]














[...]


#2 The citation

[...]

















[...]

Does anyone have any ideas?

Thank you!
  • (Wrap code in <code></code> or post the whole style to pastebin.com or a similar site. )

    Can't speak to specifics since I can't see your code, but the basics are that you need to set the year-suffix explicitly for n.d. like

    <text term="no date" form="short"/>
    <text variable="year-suffix"/>


    Note that once you set the year-suffix for n.d., you also need it for the date itself.
  • Thank you - I really appreciate the quick help!

    I think you are spot on (the code was pretty basic).

    I added the section
    <text variable="year-suffix"/>
    to the else section of the year-issued macro and now it does what I want!

    If I may ask, why do I also need to add the year-suffix to the date itself? It seems like the disambiguate-add-year-suffix="true" in the citation takes care of that and at first glance, nothing about seems broken after the change.
  • I'm pretty sure the year-suffix won't show on the date once it's explicitly set elsewhere, but if it works in your testing, you don't need to worry about it.
Sign In or Register to comment.