Adding in-text citation page numbers to CSL Style

I wish to view pages numbers within in-text citations using the Elseliever Harvard Style (without titles). I need it to be this style in particular because it is the independent style on which a style I am using is based.
I have referred to the step by step guide to editing style and CSL specification on the zotero website, but cannot see any guidance on adding pages numbers to citations. Can anyone help with the code I need for this?
Thanks, Ricky
  • find this
    <layout prefix="(" suffix=")" delimiter="; ">
    <group delimiter=", ">
    <text macro="author-short"/>
    <text macro="issued"/>
    </group>


    change to
    <layout prefix="(" suffix=")" delimiter="; ">
    <group delimiter=": ">
    <group delimiter=", ">
    <text macro="author-short"/>
    <text macro="issued"/>
    </group>
    <text variable="locator"/>
    </group>


    The delimiter in the first group determines how the page number is separated from the rest - this will give you
    (Smith, 1776: 51)
    change it according to your needs.
  • Hi, I have just added this code to the Elsevier Harvard style following all the steps listed for editing a Zotero style, the csl editor showed me what I want, the code was verified, but the plugin is still not putting my page number in my citation (I am using Word). I am putting my in-text citations in footnotes, but as far as I can tell, that shouldn't limit whether I get my page numbers. Can anyone make any suggestions?
  • Having similar trouble adding macros to in-line citations. Anyone have any guidance>
  • edited June 20, 2017
    With rickylawton's post we were able to give some hints as he told us what style he is using and what he wants.
    It's hard to guess what you'd like with no information ;)
Sign In or Register to comment.