Add "ibid." to style

Hi everyone,

sorry to bother you with a problem a lot of people have discussed already, but forum search didn't quite output any solution for me.

I've adapted my own style for my MA thesis from ASA, and I cannot get my head round how to include ibid.s into my citations.

Here's the citation part of my csl. Sorry it's such a long listing. I've put in the ibid part where I think it should go (in the citation section) but haven't changed anything in the macros. Perhaps I should've?

Please bear with me, I know it's a newbie query. Any help would be MUCH appreciated.

<citation>
<option name="et-al-min" value="4"/>
<option name="et-al-use-first" value="1"/>
<option name="et-al-subsequent-min" value="3"/>
<option name="et-al-subsequent-use-first" value="1"/>
<option name="disambiguate-add-year-suffix" value="true"/>
<option name="disambiguate-add-names" value="true"/>
<option name="disambiguate-add-givenname" value="true"/>
<option name="collapse" value="year"/>
<layout prefix="(" suffix=")" delimiter="; ">
<if position="ibid-with-locator">
<text term="ibid" text-case="lowercase" suffix="."/>
<text macro="citation-locator" prefix=", "/>
</if>
<else-if position="ibid">
<text term="ibid" text-case="lowercase" suffix="."/>
</else-if>
<else>
<group delimiter=": ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<text variable="locator"/>
</group>
</else>
</layout>
</citation>

Many thanks!
  • This should help: http://www.zotero.org/support/dev/csl_syntax_summary

    You're missing the "choose" tags that need to go around the conditional. The link above shows where they should go.
  • Thanks, that was it! D'uh ;-)!

    For others who might come across the same query, here's what my citation section looks like now:

    <citation>
    <option name="et-al-min" value="4"/>
    <option name="et-al-use-first" value="1"/>
    <option name="et-al-subsequent-min" value="3"/>
    <option name="et-al-subsequent-use-first" value="1"/>
    <option name="disambiguate-add-year-suffix" value="true"/>
    <option name="disambiguate-add-names" value="true"/>
    <option name="disambiguate-add-givenname" value="true"/>
    <option name="collapse" value="year"/>
    <layout prefix="(" suffix=")" delimiter="; ">
    <!--
    ==========================
    This is the start of the ibid. part
    ==========================
    -->
    <choose>
    <if position="ibid-with-locator">
    <text term="ibid" text-case="lowercase" suffix=".: "/>
    <text variable="locator"/>
    </if>
    <else-if position="ibid">
    <text term="ibid" text-case="lowercase" suffix="."/>
    </else-if>
    <else>
    <group delimiter=": ">
    <group delimiter=" ">
    <text macro="author-short"/>
    <text macro="year-date"/>
    </group>
    <text variable="locator"/>
    </group>
    </else>
    </choose>
    <!--
    =========================
    This is the end of the ibid. part
    =========================
    -->
    </layout>
    </citation>

    This outputs:
    First: (Biber et al. 2004: 241)
    Subsequent: (Biber et al. 2004: 241)
    Ibid: (ibid.)
    Ibid-with-locator: (ibid.: 241)
Sign In or Register to comment.