Disambiguate by year, not (short) title
Hello all,
I'm writing a chapter MLA style and I would like to disambiguate different works by the same author by year rather than the default (short title).
So I'd like (Butler 1990: 64) and (Butler 1996: 47) instead of (Butler Gender Trouble: 64) and (Butler Bodies that Matter: 47).
How do I go about changing this?
Also, sometimes I write about one author's work primarily and may cite another work by them just once. It is annoying to have disambiguation everywhere even if it is clear from the context which work I am referred to. How can I change this?
As you may notice, I am new to Zotero. I love to the programme, but would love to find a way around this.
Thank you kindly,
Lucy
I'm writing a chapter MLA style and I would like to disambiguate different works by the same author by year rather than the default (short title).
So I'd like (Butler 1990: 64) and (Butler 1996: 47) instead of (Butler Gender Trouble: 64) and (Butler Bodies that Matter: 47).
How do I go about changing this?
Also, sometimes I write about one author's work primarily and may cite another work by them just once. It is annoying to have disambiguation everywhere even if it is clear from the context which work I am referred to. How can I change this?
As you may notice, I am new to Zotero. I love to the programme, but would love to find a way around this.
Thank you kindly,
Lucy
here are some general instructions
http://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
Specifically, you want to find this:
<if variable="author editor translator" match="any">
<group delimiter=", ">
<text macro="author-short"/>
<choose>
<if disambiguate="true">
<text macro="title-short"/>
</if>
and change it to:
<if variable="author editor translator" match="any">
<group delimiter=", ">
<text macro="author-short"/>
<choose>
<if disambiguate="true">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
It's not possible to manually toggle disambiguation for individual citations, so your 2nd request can't be done.
thank you for your comment.
I fiddled around with your suggestion a bit:
<if variable="author editor translator" match="any">
<text macro="author-short"/>
<choose>
<if disambiguate="true">
<group delimiter=": ">
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
</choose>
--
Now I get (Wilbush, 1980 260)
But I'd like (Wilbush 1980: 260).
What should I change?
Thank you ever so much for your help.
<group delimiter=": ">
<choose>
<if variable="author editor translator" match="any">
<group delimiter=" ">
<text macro="author-short"/>
<choose>
<if disambiguate="true">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
</choose>
</group>
</if>
<else>
<text macro="title-short"/>
</else>
</choose>
<text variable="locator"/>
</group>
</layout>
I copied your suggestion and tried it twice, but I still get
(Wilbush 1980 260)
no colon..
Any ideas?
<group delimiter=": ">
I tried the test panel, but it only shows the uncomplicated (nondisambiguous) citation and for a normal citation with a page number without the year, it includes : before the page (Wilbush: 90)
I was interested in a colon only after the year in cases of disambiguation.
Thank you both for your help.
You can test the whole thing in the test panel by selecting two disambiguating references in Zotero. This will almost certainly also work in a document - to make sure Zotero updates the style after installing switch to a different style and back. But as I said, this will always add the colon.
What do you need this style for? I don't have the time to provide the code for the colon just for disambiguation if this is just an ideosyncratic (and imho odd - either you want a colon before pages or you don't) preference.
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=" ">
<choose>
<if variable="author editor translator" match="any">
<text macro="author-short"/>
</if>
<else>
<text macro="title-short"/>
</else>
</choose>
<choose>
<if disambiguate="true" variable="locator" match="all">
<date variable="issued" form="text" date-parts="year"
suffix=":"/>
</if>
<else-if disambiguate="true">
<date variable="issued" form="text" date-parts="year"/>
</else-if>
</choose>
<text variable="locator"/>
</group>
</layout>
(edit: That should be a little better now.)