National Library of Medicine with alphabetized bibliography

I have been trying to edit the National Library of Medicine citation style so that the bibliography is in alphabetical order by author last name rather than order of appearance in text. Any suggestions on how to successfully do this? Thanks!
  • first thing you want to work with "Vancouver" (which is the same, but has the actual style code).

    Then, find
    <bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
    <layout>

    replace with
    <bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
    <sort>
    <key macro="author"/>
    <key macro="date"/>
    </sort>
    <layout>

    general instructions are here:
    https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
  • Thanks for the help! I was able to change the style code as above. How do I implement the new code in Microsoft Word?
  • install the style, and change to a different style and back.
  • After saving the style code and trying to install it, I received this message: This XML file does not appear to have any style information associated with it. The document tree is shown below. Did I enter something wrong in the code?
  • that message always appears - do you also get the "Install" message? If so, the style is fine.
  • Was able to get the new code to work. Thanks!

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.