I export to BibTeX (which Bookends does support), then use Pandoc to auto-convert to CSL-JSON (Pandoc can convert several bibliography formats). That will get you a mirror of your Bookends Database in CSL-JSON format.
The annoyance is that as Bookends cannot keep its database synced to a BibTeX file, you have to do this manually. This can be automated using Applescript, but Applescript BibTeX export is incredibly slow, currently my 7400 references takes ~30mins to export, and due to a memory leak somewhere inflates memory. Manual export (
File > Export References (Hits)…), is much quicker, no memory leak, but is hard to automate.
But can't you get much of the benefits of this plugin using Bookend's floating citations and a couple of text snippets?
---
Note to Jon: CSL-JSON is a JSON representation of references themselves (like RIS, BibTeX etc.), separable from the associated machinery of converting to formatted references. I'm not sure if Bookends Formats Manager cold be made to generate JSON style references? JSON doesn't care about whitespace (you use JSON already for Preferences of course), but it does require proper wrapping of all contents within [] (I can't see how to do that), and entries in {} with commas except for the last entry (somewhat like BibTeX actually), and at least separate names to be parsed for family and first?
Example BibLaTeX
Code: Select all
@article{lisitsyn2020,
author = {Lisitsyn, Dmitriy and Grothe, Iris and Kreiter, Andreas K. and Ernst, Udo A.},
title = {Visual Stimulus Content in {V4} Is Conveyed by Gamma-Rhythmic Information Packages},
journaltitle = {The Journal of Neuroscience},
volume = {40},
number = {50},
pages = {9650},
date = {2020},
doi = {10.1523/JNEUROSCI.0689-20.2020} }
Equivalent CSL-JSON:
Code: Select all
[{
"DOI": "10.1523/JNEUROSCI.0689-20.2020",
"author": [{"family": "Lisitsyn","given": "Dmitriy"},{"family": "Grothe","given": "Iris"},{"family": "Kreiter","given": "Andreas K."},{"family": "Ernst","given": "Udo A."}],
"container-title": "The Journal of Neuroscience",
"id": "lisitsyn2020",
"issue": "50",
"issued": {"date-parts": [[2020]]},
"page": "9650",
"title": "Visual stimulus content in <span class=\"nocase\">V4</span> is conveyed by gamma-rhythmic information packages",
"type": "article-journal",
"volume": "40"
}]