Edit inline citation style in word

I have downloaded an CSL file containing a style. In word it sets it up like this (Kofoed, 2007, p. 100)

I would like to change that to (Kofoed 2007:100)

Where do I set this up in the CSL-file.
I have tried looking in the documentation, but I havent been succesful.

Thanks in advance

//lasse
  • Thanks for you help. It's the American Psychological Association 6th Edition

    You can see the code here
    https://github.com/citation-style-language/styles/blob/master/apa.csl

    Best regards
    Lasse
  • Replace:
    <layout prefix="(" suffix=")" delimiter="; ">
    <group delimiter=", ">
    <text macro="author-short"/>
    <text macro="issued-year"/>
    <text macro="citation-locator"/>
    </group>
    </layout>

    by:
    <layout prefix="(" suffix=")" delimiter="; ">
    <group delimiter=" ">
    <text macro="author-short"/>
    <text macro="issued-year"/>
    </group>
    <text macro="citation-locator"/>
    </layout>

    and the whole macro "citation-locator" by
    <macro name="citation-locator">
    <text variable="locator" prefix=":"/>
    </macro>
  • Thank you for your help, Gracile.

    Just one problem left.
    There space between year and citation locater

    It looks like this
    (Kofoed 2007: 100)

    Instead of this
    (Kofoed 2007:100)

    I cant seem to find where the space gets inserted

    Best regards
    Lasse
  • I figured out a solution myself.

    I removed the space from the groupdelimiter and added suffix space in the author macro.

    Thank for the help to get me started.

    //lasse
  • Are you using Zotero ? That should work with it.

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.