You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using Zotero, Quarto, and RStudio to write a manuscript that required abbreviated journal names, I discovered that certain journals weren't converting to their abbreviated form as expected. For example, the "Strength & Conditioning Journal" was supposed to convert to "Strength Cond J". My .bib file formatted the journal name as "Strength & Conditioning Journal", while the nbci-abbreviations.json file documented that journal as the "Strength and conditioning journal" (note the "and" instead of an ampersand &). I manually changed my .bib file to "Strength & Conditioning Journal" and the rendered output properly abbreviated the journal name in the bibliography as "Strength Cond J".
I can manually edit the JSON file for my personal needs, but it may be worth adding new lines to the JSON file so there are versions using "and" and other versions using "&" so more journals abbreviate as expected. In this case, the JSON would look like:
@article{mcguigan2004,
title = {A New Approach to Monitoring Resistance Training},
author = {McGuigan, Michael R. and Foster, Carl},
year = {2004},
date = {2004},
journal = {Strength & Conditioning Journal},
volume = {26},
number = {6},
url = {https://journals.lww.com/nsca-scj/fulltext/2004/12000/a_new_approach_to_monitoring_resistance_training.8.aspx}
}
@article{mcguigan2004,
title = {A New Approach to Monitoring Resistance Training},
author = {McGuigan, Michael R. and Foster, Carl},
year = {2004},
date = {2004},
journal = {Strength and Conditioning Journal},
volume = {26},
number = {6},
url = {https://journals.lww.com/nsca-scj/fulltext/2004/12000/a_new_approach_to_monitoring_resistance_training.8.aspx}
}
To reproduce this in Quarto, your YAML header or file needs to contain
While using Zotero, Quarto, and RStudio to write a manuscript that required abbreviated journal names, I discovered that certain journals weren't converting to their abbreviated form as expected. For example, the "Strength & Conditioning Journal" was supposed to convert to "Strength Cond J". My .bib file formatted the journal name as "Strength & Conditioning Journal", while the nbci-abbreviations.json file documented that journal as the "Strength and conditioning journal" (note the "and" instead of an ampersand &). I manually changed my .bib file to "Strength & Conditioning Journal" and the rendered output properly abbreviated the journal name in the bibliography as "Strength Cond J".
I can manually edit the JSON file for my personal needs, but it may be worth adding new lines to the JSON file so there are versions using "and" and other versions using "&" so more journals abbreviate as expected. In this case, the JSON would look like:
Here's what my .bib file looks like:
To reproduce this in Quarto, your YAML header or file needs to contain
citation-abbreviations: "path/to/json_abbreviation_file.json"
I was using the Thieme-German (Deutsch) .csl file.
I tried running a script to do this myself, but I'm fairly new to working with JSON, so I couldn't quite get there.
The text was updated successfully, but these errors were encountered: