Connecting Zotero and Scrivener

a blue abstract background with lines and dots

I set this up a while ago, used it a few times, decided it was too much of a pain. Then did the whole thing over again and came to the same conclusion. I’m documenting what I did in case others want to try it out. Maybe there’s a better way?

Read on to see what I did to get Scrivener-Zotero integration to work (Windows, 64-bit).

Things to download/install

Install the following. Note that some applications must be installed in order (e.g., install Java before LibreOffice and Zotero before Zotero add-ons). Ensure each application is set up and working on its own before moving on to the next:

Inserting Zotero Markers in Scrivener

In Scrivener, you will use the citation keyboard shortcut to call up zotpicker.

To find out what the keyboard shortcut is, go to File > Options > In Filter, type: citations. Click on item that appears to see assigned shortcut; can enter a new keyboard shortcut (e.g., Ctrl+G)

Zotero Citations in Scrivener

General format of an in-line citation:

{ | Trenholm, et al., 2015 | | | zu:8268352:X2LPCW2M }

{ | Maheux, & Proulx, 2015 | | | zu:8268352:UPVIRAZG }

You can customize wording and add page numbers within the citation:

{See | Solomon, & Croft, 2016 |p. 34 | for an example | zu:8268352:7NMABB5W }

Wu { | -Wu, et al., 2008 | | | zu:8268352:PIQR825X } says…

Scrivener <-> Microsoft Word (keeping the Zotero citations intact)

There is no way to create a reference list directly in Scrivener. To do so, you need to convert to a different format. Here’s how to convert to Word (also useful if you need to send your document for someone else to review in Word)

Converting from Scrivener to Microsoft Word

  1. In Scrivener:
    • Once you are done writing and inserting citation markers, compile for OpenDocument Text (.odt) format.
  2. In Zotero:
    • Zotero > Tools > ODF Scan -> choose ODF (to citations)
    • Find doc to input, and enter path/name of doc to output (default adds “(citations)”)
    • Now you have an ODT file that can be opened in LibreOffice.
  3. In LibreOffice:
    • Switch Zotero “Set Document Preferences” to Bookmarks, refresh citations, and then save as docx.
  4. In Word:
    • Open the converted file and click Refresh in the Zotero ribbon to continue using the document.
    • (optional) In “Set Document Preferences”, choose Fields
    • Add Works Cited

Converting from Word to Scrivener

  1. In Word:
    • Remove Works Cited
    • (If required) Open docx file and in Zotero Document Preferences -> Switch Field type to Bookmarks.
  2. In LibreOffice:
    • Open docx file and switch Zotero “Set Document Preferences” to ReferenceMarks (not Bookmarks).
    • Refresh to ensure gray field markers appear.
    • Save as odt file.
  3. In Zotero:
    • Zotero > Tools > ODF Scan – choose ODF (markers) option
    • Find doc to input, and enter path/name of doc to output (default adds “(markers)”)
  4. In Scrivener:
    • Import filename(markers).odt file

Why Didn’t I Use Scrivener with Zotero?

There were two key reasons for why I didn’t persist with this:

  • The process of converting from Scrivener to Word and back was a hassle and resulted in formatting messiness that had to be cleaned up each time.
  • The ugliness of these citations made reading feel like too much of a challenge. See a snippet below from an early paper I was working on for an example:

Hope this was useful!

Comment