manubot cite: automatically generate CSL metadata & formatted references from citation identifiers
by dhimmel
GNU/Linux
•
xterm-256color
•
zsh
2006 views
This recording demonstrates the manubot cite command line utility to produce CSL Data and rendered references for standard citation identifiers. Learn more at https://github.com/greenelab/manubot.
The recording shows the following commands (although with different argument orders and newlines):
# Generate CSL JSON Data for citations
manubot cite url:https://greenelab.github.io/meta-review/
# Render citations into formatted references
manubot cite --render \
doi:10.1038/nbt.3780 pmid:29424689 pmcid:PMC5938574 arxiv:1407.3561 url:https://greenelab.github.io/meta-review/
# Change the bibliographic style
manubot cite --render \
--csl=https://github.com/citation-style-language/styles/raw/master/dependent/nature-communications.csl \
doi:10.1038/nbt.3780 pmid:29424689 pmcid:PMC5938574 arxiv:1407.3561 url:https://greenelab.github.io/meta-review/
The manubot program demonstrated here is written in Python and used by the larger Manubot project, which is a system for writing scholarly manuscripts on GitHub with continuous integration.