Similar to scholia.tex Python script but more versatile because citation key extraction is done by pandoc and extraction of bibliographic data from Wikidata is done by citation.js.
What's missing is a small script that stores all citation data in a JSON file (e.g. references.json) and only retrieve missing items. Support of human-readable citation key aliases (e.g. AuthorSunameYear) would also be nice. This script might become part of citation-js.
Similar to scholia.tex Python script but more versatile because citation key extraction is done by pandoc and extraction of bibliographic data from Wikidata is done by citation.js.
Install pandoc, jq and citation-js:
Define a function or script to extract citekeys from arbitrary documents (especially Markdown and TeX):
Pipe Wikidata ids to citation-js:
What's missing is a small script that stores all citation data in a JSON file (e.g.
references.json
) and only retrieve missing items. Support of human-readable citation key aliases (e.g.AuthorSunameYear
) would also be nice. This script might become part of citation-js.