How to Merge Citations

I try to add few citation after sentence. But all of them appear as separate citations: like [1][2][3] or (Autor1 et al. 2017), (Autor2 et al. 2017), (Autor2 et al. 2017)
But it should be combined as [1,2,3] or [Autor1 et al. 2017; Autor2 et al. 2017; Autor2 et al. 2017]

I know that Endnote automatically combine multiple citations, but I can't find how to do it in Zotero.
  • I coded a Word VBA macro to join separate citations and just updated it. See https://forums.zotero.org/discussion/3262/single-to-multiple-citations-in-word-plugin/p3
  • It's really unfortunate that Zotero doesn't allow you to merge citations. I'm a librarian who has been trying to help a user who had to change a citation style to match a journal format. I edited the style for her & when she updated her Word document, all the citations that had been 1-3, etc, were now [1] [2] [3]. For me & the users I support, merging citations in this way is really necessary. People forget citations all the time (or PIs insist that certain citations should be added); it shouldn't be a big deal & it isn't in other programs.
  • @mcs It's not clear what you mean exactly. If the citations were previously 1-3, that indicates they were entered properly as a single citation. What style is your user using?
  • AMA, edited to change the in-text citation style from superscript to number in parentheses. It's a relatively simple edit to the style, so I don't understand what happened.
  • Can you post your edited style to https://hastebin.com/, save it, then give a link here?
  • https://hastebin.com/jexuyowawa.rb Let me know if this doesn't work/if you need more info.
  • you want to put the parentheses into layout, not the group, i.e.
    <layout prefix="(" suffix=")" delimiter=",">
    <text variable="citation-number"/>
    <group prefix=", ">
    <label variable="locator" form="short" strip-periods="true"/>
    <text variable="locator"/>
    </group>
    </layout>

    I still don't see how you would have gotten [1] [2] [3] with this style rather than (1),(2) and (1)-(3) but I think this will solve your problem.

    There absolutely is a case for merging references in some workflows where you move references around a lot in a draft, but things like changing citation styles and adding forgotten citations work perfectly with Zotero's current capabilities.
Sign In or Register to comment.