Changing page number style

I need to change the style for listing page numbers from a comma and the page number to "p" or "pp" and the page number. The American Chemical Society author-date style uses the "p" and page number format, but since this style is not in Zotero I am trying to modify the Chicago style to match.
  • could you give an example so we're clear on which page numbers where?
  • "(Taylor and Smith, 2013, 22)" changed to "(Taylor and Smith, 2013, p 22)"
  • and pp 22-24 for page ranges?
  • Yes, that is correct.
  • 1. I'm not quite sure I understand your rationale for using Chicago here. Getting a style into Zotero is a one-click operation from www.zotero.org/styles

    2. If you do want to use CMoS, you have, unfortunately picked an unusually complex style, but essentially find this:
    <macro name="point-locators">
    <choose>
    <if variable="locator">
    <choose>
    <if locator="page" match="none">
    <choose>
    <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
    <choose>
    <if variable="volume">
    <group>
    <text term="volume" form="short" suffix=" "/>
    <number variable="volume" form="numeric"/>
    <label variable="locator" form="short" prefix=", " suffix=" "/>
    </group>
    </if>
    <else>
    <label variable="locator" form="short" suffix=" "/>
    </else>
    </choose>
    </if>
    <else>
    <label variable="locator" form="short" suffix=" "/>
    </else>
    </choose>
    </if>
    <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
    <number variable="volume" form="numeric" suffix=":"/>
    </else-if>
    </choose>
    <text variable="locator"/>
    </if>
    </choose>
    </macro>

    and then remove the test for pages and the periods in abbreviations, i.e.
    <macro name="point-locators">
    <choose>
    <if variable="locator">
    <choose>
    <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
    <choose>
    <if variable="volume">
    <group>
    <text term="volume" form="short" suffix=" "/>
    <number variable="volume" form="numeric"/>
    <label variable="locator" form="short" prefix=", " strip-periods="true" suffix=" "/>
    </group>
    </if>
    </choose>
    </if>
    <else>
    <label variable="locator" form="short" strip-periods="true" suffix=" "/>
    </else>
    </choose>
    <text variable="locator"/>
    </if>
    </choose>
    </macro>
  • The Chicago style seemed to be, to my weak eyes, the closest to the American Chemical Society author-date style. I have made the modifications to the code that you gave me thank you. The page number still comes in, in the in-text citation, as a comma and just the page number with no "p" or "pp" in front. For example (Smith, 2013, 12) Would you suggest that I just go with the Chicago style and not worry about the "pp" or "p"?
Sign In or Register to comment.