Auto-bibliography creation, via citekeys
Ok script wizards, I'm wondering if someone might be able/willing to help me replicate, using Keyboard Maestro, a feature of sublimeless_zk that I really liked (before I stopped using s_zk, due to @rene 's apparent abandonment of it sad face) : auto-bibliography creation.
When executed, this feature finds all of the citekeys in the open note, queries a .bib file for the corresponding citations, and appends to the end of the note a nice list of formatted bibliographical entries.
For example, if the following citekeys were located somewhere are in the open note --- [#Crary2005]; [#Bates2002]; [#Frodeman2010] --- then upon execution the following entries would be appended to the end of the note:
[#Bates2002]: Bates, David. 2002. “Cartographic Aberrations: Epistemology and Order in the Encyclopedic Map.” In Using the Encyclopédie: Ways of Knowing, Ways of Reading, edited by Daniel Brewer and Julie Candler Hayes, 1–20. SVEC, 2002:05. Oxford: Voltaire Foundation.
[#Crary2005]: Crary, Jonathan. 2005. Techniques of the Observer: On Vision and Modernity in the Nineteenth Century. Cambridge, Mass.: MIT Press.
[#Frodeman2010]: Frodeman, Robert, Julie Thompson Klein, and Carl Mitcham, eds. 2010. The Oxford Handbook of Interdisciplinarity (1st Edition). Oxford ; New York: Oxford University Press.
Alphabetical order, formatted in what looks like ASA citation style (I would prefer Chicago citation style, but beggars, I've heard, cannot be choosers), each formatted correctly according to its type: article, authored book, and edited volume, respectively.
The .py file for this feature might offer some clues to this wizardry, but sadly it is all gibberish to me.
Perhaps this is a big an ask, but I ask it humbly! Is this possible? Could anyone offer leads on how it might be done?
It looks like you're new here. If you want to get involved, click one of these buttons!