Style request: NLM with PMID/PMCID with superscript and DOI

A really nice style exists for National Library of Medicine including PMID and PMCID: https://www.zotero.org/styles/national-library-of-medicine-grant-proposals

However, I'd like the citations to be superscripted (i.e. nature style). Less importantly, though it would still be nice, I'd like citations to unconditionally add the DOI.

I tried to change the style to superscript in the visual CSL editor, however in a superscripted "1,2" or "1-4" the comma or dash would not be superscripted. Don't know what to do from there. Also don't know how to add the DOI macro. Clearly don't know what I'm doing at all and any help would be great. I'd gladly deposit to repository, seems like people would want this for writing NIH grants, and I note that someone did recently ask for it at the end of this thread as well:

https://forums.zotero.org/discussion/34622/nih-format/


Thank you! granto
  • 1. Superscript -- set the vertical align setting to sup the way you did, but do so after clicking on "Layout" under inline citation (on the left), not just for the citation number.

    2. Click Layout, but this time under Bibliography, on the left. Then click the plus sign on the top left to add a node. Choose "Text" then variable from the topdowan and pick the variable DOI. add any prefix you may want (e.g. doi: or http://doi.org/) including any spaces and punctuation. This will by default appear last in the citation. Should that not be what you want, move it around by drag and drop on the left.
  • Thanks so much!
  • Hello granto
    Did you manage to get the style look like what you wanted?
    Would you mind posting it, and sharing the link?
    Thanks!
    Alex
  • Hi, I know this is discouraged (they want me to do it via github, I think) but when I looked into it, it was just too complicated for me to deal with (sorry zotero people!).

    So here is the file, with a giant caveat emptor that it will never get updated beyond this date and is not guaranteed to work the way you want it to, etc.:

    https://drive.google.com/open?id=0B3Rs58gXx9X9TWJWaWZUb1BvVWM

    I think I changed something else, like added doi, but I don't entirely remember. It just worked for me and I haven't thought of it since.

    Also, there is a major limitation with this style: annoyingly, you have to actually grab the citation from pubmed in order to get the PMCID. And the last time I looked, there was no way to automatically populate PMID/PMCIDs from the DOI or other metadata, which is really pretty painful if you already have your citations. I remember looking into it but there was no progress on this at the time. good luck.
  • (I -- and others involved in the dev process in one way or the other -- just insist on github if people want me to look at code because I don't have the time to go and download stuff from dropbox or drive. You can share files for others however you find convenient).
  • Thanks, got the file!

    I've encountered some issue being forced to migrate from Refworks to Zotero.
    You can read how I figured a solution to my problem here:
    https://forums.zotero.org/discussion/comment/262323/#Comment_262323

    I basically started from scratch and re-imported all my references, using PMID as the key identifier. It worked really well and now I have PMID (and DOI) for all my references.

    Alex
  • ah, cool then, thanks.

    alexandreblais-- I'm pretty amazed you got that to work. Now I remember that I found this API and that it would be awesome if someone figured out how to get it working with zotero: http://www.ncbi.nlm.nih.gov/pmc/pmctopmid/
  • granto -- what exactly are you after with that form? Most of what this delivers, Zotero can already to implicitly (e.g. look up DOI and PMC when you have a PMID).
  • I'd like Zotero to be able to use DOI to populate PMCID (and/or PMID). Ideally this would be done automatically upon import.
  • If you populated your bibliography using DOI, you can still go into your library and change "Library Catalog" to "PubMed" and in "Extra" type the PMID number (PMID: #######). Then the citation style downloaded from here will work once you refresh your bibliography! (https://www.zotero.org/styles/national-library-of-medicine-grant-proposals)
  • Not sure why you're reviving this thread 8 years later, but FWIW there is now an add-on that will fetch PMID/PMCID for items with a DOI: https://github.com/retorquere/zotero-pmcid-fetcher/
Sign In or Register to comment.