a, b and c missing for no date
When you have a citation with same author same year you will have (Doe, 2011a) (Doe, 2011b) this is missing for no date, so there is no differenceation when there is the same author with no date.
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
(Smith n.d. a; Smith n.d. b) and it looks very weird to me.
"When citing more than one documents with the same author that have no date, differanciate between the documents with letters (a, b, c) like done with other citations. For example ...on the homepage of Reykjavik city this is often mentioned (Reykjavikurborg, n.d.-a, n.d.-b)..."
Translation is mine.
Hope this help.
Retrived March, 31 2011a from ...
Retrived March, 31 2011b from ...
This does not happen when there is a year with the author. So the code probably looks for the first year it finds and adds a descriminator. I actually find this funny.
The CSL for such an effect might look like this (the block below is from a test fixture that I constructed this evening, to determine whether the processor can currently satisfy the requirement -- which it can't, without a small modification (see below):
<citation disambiguate-add-year-suffix="true">
(Edited to correct syntax errors in my original post)<layout delimiter="; " prefix="(" suffix=")">
<group delimiter=" ">
<names variable="author">
<name/>
</names>
<group>
<choose>
<if variable="issued">
<date variable="issued" form="text"
date-parts="year"/>
<text variable="year-suffix"/>
</if>
<else>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</group>
</group>
<group delimiter=" " prefix=" [" suffix="]">
<text term="accessed" suffix=": "
text-case="capitalize-first"/>
<date variable="accessed" form="text"
date-parts="year-month-day"/>
</group>
</layout>
</citation>
In the current version of the processor, this doesn't work, because the year-suffix variable does not test positive for content when a year-suffix is available. I've made a small change to the code that fixes this little bug, and I'll push it to a release later this evening. You can expect to see the revised version in the next release of Zotero (2.1.3).
Thanks for this interesting problem. :)
If I understand you correctly, if I add this to the APA.csl after release of version 2.1.3 then this should work.
https://github.com/citation-style-language/styles/blob/master/apa.csl
Added two lines to <macro name="issued-year">, was not sure if it should be added to <macro name="issued"> ,so I skipped that one. Now it is like this:
<macro name="issued-year">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
</if>
<else>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</macro>
Here is the link: https://gist.github.com/6e9f3b4aabd1e0a97c5b
https://gist.github.com/6e9f3b4aabd1e0a97c5b