comma before page

Hey. I edited the havard-cardiff-style. Everthing is working except this thing: I am not able to get a comma before the page of in-text citations. It is now like this: "Wilderness is a virgin..." (Ladres S. 8) and should be like that: "Wilderness is a virgin..." (Ladres, S. 8).
Is anybody able to help? I would be very, very appreciated!
Here is the cls: https://gist.github.com/3732615
  • add a comma as delimiter in the outer group here,
    <layout prefix="(" suffix=")" delimiter="; ">
    <group delimiter=" ">
    <text macro="author-short"/>
    <text macro="year-date"/>
    <group>
    <label variable="locator" suffix="." form="short" strip-periods="true"/>
    <text variable="locator"/>
    </group>
    </group>
    </layout>

    in other words, change it to (includes some cosmetic changes):

    <layout prefix="(" suffix=")" delimiter="; ">
    <group delimiter=", ">
    <text macro="author-short"/>
    <text macro="year-date"/>
    <group>
    <label variable="locator" form="short"/>
    <text variable="locator"/>
    </group>
    </group>
    </layout>
  • edited September 16, 2012
    Hey adamsmih,
    thanks for your help, but now it looks like this: "Wilderness is a virgin..." (Ladres, 2012, S. 8) instead of "Wilderness is a virgin..." (Ladres 2012, S. 8)
    Do you know the mistake?
  • sorry, should be:
    <layout prefix="(" suffix=")" delimiter="; ">
    <group delimiter=", ">
    <group delimiter=" ">
    <text macro="author-short"/>
    <text macro="year-date"/>
    </group>
    <group delimiter=" ">
    <label variable="locator" form="short"/>
    <text variable="locator"/>
    </group>
    </group>
    </layout>
  • Great! It works! Thanks and greetings!
Sign In or Register to comment.