-
Notifications
You must be signed in to change notification settings - Fork 129
User scripts examples
Alejandro Gallo edited this page Nov 20, 2022
·
3 revisions
This page contains references and snippets of code of papis users to performe several tasks. They serve as reference and inspiration.
Open papers in the harvard database,
this command will check the doi of the paper
and open the relevant paper entry in adsabs.harvard.edu.
alias ads="papis browse -k ads"You can add this function into your .bashrc file
xrefget() {
papis explore \
crossref "$@" \
pick \
cmd 'papis add --from doi {doc[doi]}'
}You can then query crossref, pick one of the retrieved paper metadata and add it to your library, i.e.
xrefget -a Einstein