Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local Zotero Integration? #543

Open
emstruong opened this issue Mar 5, 2024 · 3 comments
Open

Local Zotero Integration? #543

emstruong opened this issue Mar 5, 2024 · 3 comments

Comments

@emstruong
Copy link

Hi,

Rocker's been very helpful for me. I was wondering if it'd be possible to somehow link Zotero to rocker? For example, when writing documents in Rmarkdown, it'd be nice to somehow be able to fetch citations from the zotero library.

I'm aware of the option of exporting a .bib file from zotero manually, but I'm not sure how well this would fare in the long run with many different reports and files...

@cboettig
Copy link
Member

cboettig commented Mar 6, 2024

You're probably best off using an R package that can talk to Zotero's API. A quick google search turns up https://github.com/giocomai/zoteror. I tend to export selected papers from Zotero ino .bib files though and just use that. (As you surmised, at least when last I checked last, pandoc/rmarkdown doesn't perform well when .bib files are very very large).

@emstruong
Copy link
Author

Hi @cboettig , that makes sense to me--thanks for the package recommendation.

Do you have any particular recommendations for how to use confidential information (Zotero API key (?) and etc) through rocker? Maybe: https://docs.docker.com/compose/use-secrets/ ?

@eliselavy
Copy link

eliselavy commented Apr 10, 2024

@emstruong I use the plugin citation-manager made by @krassowski

https://github.com/krassowski/jupyterlab-citation-manager

It's made for JupyterLab, but with Jupytext you can pair your .ipynb with Rmarkdown
https://jupytext.readthedocs.io/en/latest/formats-markdown.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants