Tools and Toys

One of the things that make Zotero most useful — and most fun — are the many options it provides for customization and applications via the API or in the form of plugins. Here are some I have come across recently.

Using IFTTT with Zotero is a neat little service that lets you create little scripts that have different webservices interact without actually doing any scripting. It stands for “If this than that”. It offers about 80 different channels—webservices, email, text messages—that you can set up either as triggers (the “if this” part) or as actions (the “then that” part). There is currently no Zotero channel and no possibility to create channels of your own (though you can request the former and the latter is planned. You can, however use adding an item to Zotero as a trigger by using the “Feed” channel. Here’s a “recipe” I created that will create a WordPress blogpost for every item added to a group, inspired by this job offer. You can easily create feeds not just for an entire library, but also for a collection or a tag. Simply click on the collection (or tag) in the online display of your library and then find your feed address at the bottom left. For private libraries, you will need to click the link to create a private key first.



Especially for users who employ Zotero as a frontend for bibtex or biblatex, keeping the Zotero database in sync with a data file — a .bib file in the case of bibtex — is a hassle: It requires frequent, manual export. The first plugin to address this issue was Rob Wilson AutoZotBib which exports the Zotero library in bibtex to a designated file on every change. The problem with AutoZotBib is that it slows down Zotero significantly, especially for larger libraries. A more sophisticated solution I’ve come across recently is Zotero Autoexporting by Robert Kühn. Zotero Autoexporting has the same general functionality, but allows for a lot more cutomization

  • Beyond manual export and export on every change, it also offers export in certain time intervals (say every hour)
  •  It lets you export just one (or multiple) collections, creating a .bib file for every collection
  • It allows you to run an automatic post-processing (e.g. bash) script on your file

Setting up these features is pretty straightforward once you’ve found the preferences: For me these are only accessible via the Firefox/Zotero add-ons view:

Zotero Autoexporting can export in any of Zotero’s export formats, so you could also uses it to, e.g., keep a MODS version of your library or to echxchange data with another program regularly.

More Bibtex

If you’re using Bib(La)Tex, you may also want to consider using Emiliano Heyns’s Zotero Better BibTex. It adds a number of convenient features and more flexibility to Zotero’s bibtex handling, including the ability to set custom citekey’s via the extra field and drag&drop citekeys. Some of these features are (by necessity) on the hackish side of things, so you may need to redo some things once they’re properly supported by Zotero, but until then they allow you to use Zotero as a much more sophisticated bib(la)tex front-end.

Customize Reports, Speed up Indexing

Emiliano has been on a roll recently and published several other plugins, two of which strike me as especially useful.
The first one, Report Customizer, takes Jason Priem’s Zotero Report Cleaner and turns it into a plugin. This makes it easier and faster to use and saves your settings. Simply install the plugin and then, in its preferences (which are accessible through the Zotero gears menu), check the box for fields you do not want included in reports, e.g. Date Added and Modified in the example below.


The second plugin works mainly behind the scenes: Zotero AutoIndexing implements a different indexing algorithm for Zotero and runs it automatically. The algorithm is significantly faster than the one used by Zotero, so this will be very useful for people adding a lot of large PDFs. (Its downside is that it will not work correctly for several non-Western languages like Chinese). As a bonus feature, the plugin also extracts new annotations from PDFs if you have the indispensable ZotFile installed.

On a personal note, I have written back and forth with Emiliano a couple of times, and he has been incredibly fast in addressing any issues that have come up, so I can recommend installing even early versions of his add-ons.

Mac Only: ZotQuery

As a non-Mac user I’m mainly jealous here, but the new ZotQuery looks too good to not mention it: It is a Zotero workflow for the popular Alfred productivity software that allows quick searches of your Zotero libray and opening of attachments (not unlike Qnotero), and, via the Zotero server API, will even create bibliographies in markdown. (Edit: the above link now points to the developers blog with in-depth documentation).

About these ads

8 thoughts on “Tools and Toys

  1. Emiliano Heyns

    Thanks for the mention! Just a few comments on my Zotero plugins:

    * If and when zotero provides infrastructure that supports custom keys, the plugin will auto-migrate them (I’d be pretty miserable myself if it didnt)
    * where autozotbib provides automatic/scheduled library export, it can get slow for larger libraries, and the slowness happens while you’re working in zotero. Better bibtex offers pull-export where you automatically export your library as part of the document, just-in-time (and always up to date). Biblatex can pull from the plugin natively, and for the bibtex (or Biblatex
    if you want to be able to inspect your copy), an arara script is available on the github site.
    * Auto-index uses (as of today) a JS port from the firefox algorithm, so it retains the native behavior but it’s still a lot faster (port has been submitted to zotero)

  2. rokdd

    Thanks for adding my addon Zotero Autoexport to your list. I just read that had problems to access the options – where would you place the menu item to find easily the options. From my point of view I always look in the addon manager for the prefs? If you have any further suggestions or problems do not hesitate to contact me ;)

    1. adam3smith Post author

      Hi Robert,
      first – I do see now that in Firefox the configuration is also accessible via the button in the add-on bar. If I may make a suggestion, though, I’d change the icon for that into something more visible – I overlooked the white icon for a week or so after installing the plugin.
      as to where I would have looked: most other add-ons (e.g. Zutilo, ZotFile, Report Customizer, autoZotBib) make their preferences accessible from the gears menu, i.e. where you now already have the “Run Autoexport” button.
      Hope that’s helpful!

      1. rokdd

        I am just looking the icon is still there because there was a lof of trouble around ;) I am not a big fan that everybody pollutes the menus. I just did the action there to execute (because it have to be accessible fast). If there is no configuration set yet the options dialog should be open from alone. But I might about too add a menu item more to this..
        Thank you, Robert

  3. sharethewisdom

    Some thoughts:
    - I personally favor add-ons that use config keys for options containing a folder or file path, because it offers a centralized initialization for portable Firefox’s that deal with changing drive letters. Like the ‘extensions.zotero.dataDir’ setting.
    - Secondly, I would like explicitly mention Will Shanks’ Zutilo and his invaluable javascript plugins for key mappings (for Pentadactyl, but can be just as easily adapted for Vimperator).
    - Probably you’ve heard about, the instant real-time-collaboration LaTeX platform. While their Dropbox Sync is in beta, Google Drive integration and Git access will be the next best thing! Any ideas on that? What about a userscript for auto-competion of BibTeX cite keys?
    - What about a function library with specific regex searches and replacements to make discrepancies between Zotero and BibLaTeX more easily noticable? Mr. Heyns? (I know you haven’t got much time, his requires much more debate, is there a group of LaTeX users discussing this at the moment?) These could act upon settings (like required fields and optional entry types for a specific BibLaTeX style, or when and how to parse data to the xref field)
    anyway, good work!!

  4. sharethewisdom

    oh sorry (anyway wordth re-mentioning)
    adding one more trick (or tip) however: set Zotero to use it’s own tab and use the TileTabs addon to have a a dual-tiled (tabbed) vertical setup!

  5. Pingback: Literaturverwaltung kompakt 1/2014 – Communitynachrichten | Literaturverwaltung

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s