citeproc-lua icon indicating copy to clipboard operation
citeproc-lua copied to clipboard

Zotero integration

Open simifilm opened this issue 3 years ago • 5 comments

I understand that CSL is not constrained to Zotero, still I wonder whether some kind of integration is planned. I am merely thinking of two areas:

  • Accessing Zotero bibliographic data. This would massively facilitate the ability to use the same data with different tools/writing apps.

  • Accessing the CSL styles installed by Zotero. This would eliminate the need to have all auxiliary files installed two times.

simifilm avatar Dec 17 '21 10:12 simifilm

  1. Do you mean accessing the sqlite database of Zotero? The internal types and fields in Zotero are different from CSL-JSON (see https://aurimasv.github.io/z2csl/typeMap.xml) and a conversion is needed before feeding the data to a citeproc engine.
  2. It's a good idea and I'll add it. The style files of Zotero are stored in the "Zotero Data Directory" which is ~/Zotero by default and the user may set a custom path (e.g., \cslsetup{zotero-path = /somewhere/else).

zepinglee avatar Dec 17 '21 15:12 zepinglee

Yes, I mean the sqlite database.

simifilm avatar Dec 17 '21 23:12 simifilm

Yes, I mean the sqlite database.

It sounds great but it may take some time to implement.

zepinglee avatar Dec 18 '21 05:12 zepinglee

I wonder if that would be better as a separate project?

bdarcus avatar May 03 '22 20:05 bdarcus

FWIW : Eric Hetzner has already implemented a common base allowing various tools to interact with Zotero from emacs, and pandoc so far...

There is no common framework for using these tools, that seriously lack end-user (=idiot-) level documentation. Some thought is needed to integrate them in, say, emacs' AUCTeX, Org or pandoc-mode (as well as other editors...).

The interaction via the Zotero database envisioned by simifilm should probably use zotxt, thus avoiding touching the (non-documented) sqlite base and using the (published) API. Better safe than sorry...

I like the idea to be able to use Zotero data and CSL styles in other tools than the damn "word processors" that the corporate world afflicts us with...

EmmanuelCharpentier avatar Aug 23 '22 14:08 EmmanuelCharpentier