Style Modification Request: Vancouver (superscript)

I've modified the Vancouver (superscript) Citation Style (https://www.zotero.org/styles/vancouver-superscript?source=1) to display doi's in the Reference section and inline page numbering in the form [x-y] (superscript). The modified code is available from https://pastebin.com/6B5Bx20K

But it's not rendering multiple inline citations with page references correctly – eg in Markdown the inline reference of [@bachePoliticsWellbeingTheory2018, p. 4-6; @extonPolicyUseWellbeing2018, p. 20] is rendered (via pandoc to pdf) as 1[4–6],220 instead of 1[4-6],2[20].

Thanks for any help.

  • edited December 17, 2023
    For some reason you have the locator only in square brackets for books. Look at this:
    <choose>
    <if type="book">
    <text variable="locator" text-case="lowercase" prefix="[" suffix="]"/>
    </if>
    <else>
    <text variable="locator"/>
    </else>
    </choose>


    And change it to

    <text variable="locator" prefix="[" suffix="]"/>
  • Thankyou! Fixed :)
Sign In or Register to comment.