aldine.

Aldine / Zotero with LaTeX

Using Zotero with LaTeX: three ways to keep references in sync

LaTeX reads references from a .bib file; Zotero keeps them in a library. The work is keeping the two in step. There are three common ways: Overleaf's Zotero integration, automatic export with Better BibTeX, and an editor that syncs with Zotero directly, such as Aldine.

Written by the Aldine project, so read it with that in mind. Statements about other products are taken from the linked pages of that product's own documentation. Checked on 12 October 2026.

1. Overleaf's Zotero integration

Overleaf documents two Zotero methods. Its documentation says: "Overleaf's Zotero integration is a premium feature." Premium features are available to owners of individual subscriptions, members of group subscriptions and participants in Overleaf Commons. (Overleaf docs: Zotero, as of October 2026) The details, from the same page:

This is the least effort if you already write on Overleaf with a paid plan or through your institution.

2. The free route: Better BibTeX auto-export

Better BibTeX is a Zotero plugin that can keep an exported .bib file up to date. Export a library, a group or a single collection and check "Keep updated": after that, "any changes to the collection or library will trigger an automatic re-export to update the file." (Better BibTeX docs: automatic export, as of October 2026)

The exported file then has to reach your LaTeX project:

What it does well: it is free, it works per collection, and the export runs on your own machine. What to plan for: Better BibTeX is a plugin that runs inside the Zotero desktop app, and its automatic exports run "on change" or when "Zotero goes idle" (Better BibTeX docs, as of October 2026), so Zotero has to be open for an export to happen. Each co-author who adds references needs the same setup or has to send entries to the person who has it.

3. Zotero sync in Aldine

Aldine is an open-source, self-hosted collaborative LaTeX editor with Zotero built in. There is no premium tier involved.

The Zotero panel in Aldine next to the LaTeX source: a search field over the linked library and a list of references to insert as citations

The Zotero panel in Aldine: search your library and insert citations.

What to plan for: you have to run Aldine yourself (two containers with Docker Compose); there is no hosted service today. Aldine is young (v0.x).

Try the live demo View source on GitHub

No account, no install. The demo is a shared sandbox and resets every night.

Side by side

Overleaf integrationBetter BibTeX auto-exportAldine
CostPremium feature (source)Free, MIT-licensed plugin (source)Free, self-hosted
ScopeZotero Sync: selected collections into your Overleaf Library; linked .bib: whole library or group library (source)Library, group or collection (source)My Library or a group library, whole or one collection
UpdateZotero Sync: automatic, one-way; linked .bib: manual Refresh (source)Automatic on change or on idle, while Zotero runs (source)Version-aware refresh of the project's .bib
Where it runsoverleaf.comYour machineYour server

External sources as of October 2026.

Common problems

Citation keys change after a refresh

Overleaf's documentation warns: "Updates to the Zotero platform sometimes cause citation keys to change." (Overleaf docs: Zotero, as of October 2026) When that happens, compile once and fix the undefined citations the log reports. Whatever route you use, changing an entry's author or year can change a key that is generated from them, so agree with co-authors on who edits entries.

The library is large

A whole library in one .bib is slow to export and hard to scan. Better BibTeX's documentation advises exporting "only targeted selections" for performance. (Better BibTeX docs, as of October 2026) A per-paper collection in Zotero keeps the file small, and Better BibTeX and Aldine can both work from a single collection. On Overleaf, Zotero Sync is scoped to the collections you select, while the linked .bib file imports a whole library. (Overleaf docs: Zotero, as of October 2026)

Group libraries

Overleaf's linked .bib file imports individual group libraries, and Better BibTeX exports them. (Overleaf docs: Zotero, as of October 2026) (Better BibTeX docs, as of October 2026) In Aldine, the library picker lists My Library and each of your Zotero groups.

The import asks for permission again

If Overleaf reports a permission error, its documentation says to select "Re-link your account". (Overleaf docs: Zotero, as of October 2026)