Zettelkasten

Manage Citations for a Zettelkasten

Today, we’ll talk about tools for a change. Managing a reference file is part of the collection phase of maintaining a Zettelkasten. It’s of special importance if you’re writing a research paper or a book because without proper citation management things are going to be a mess for you, soon. I’ll show you how I do it and tell you about possible alternatives briefly.

In short, I suggest you:

  • use MultiMarkdown citations,
  • add the full citation to every Zettel once,
  • use a reference manager and
  • add TextExpander shortcuts for frequently cited works.

Why I add full citations to every Zettel

Screenshot of a Zettel
Zettel with full citation at the bottom

I always include a full citation in a Zettel. This redundant storage gives me a safe feeling:

  • Every Zettel I write is self-contained: nvALT and Marked preview know what to do without additional effort.
  • I could re-create a bibliography from most of the references stored in my notes did I ever lose my precious digital library.
  • Since I only add references to notes from my bibliography manager, I’ve still got a fully working bibliography or digital library at my fingertips.

The references are copied over from my bibliography manager of choice, BibDesk. I made this process as easy as I could. TextExpander and the like will help you safe tons of time. Whenever I’m about to create lots of notes for a book, I add two shortcuts:

  1. A shortcut to the full citation which I put at the end of a note. For example ,,evans expands to:

    [#evans2006ddd]: Eric Evans (2006):  _Domain-Driven Design. Tackling complexity in the heart of software_, Upper Saddle River, NJ: Addison-Wesley.
    
  2. Another shortcut is needed for inline citations. For example, °evans expands to [{^}][#evans2006ddd], where {^} denotes the cursor position.

If you’re doing lots of research, do yourself a favor and get at least a trial version of TextExpander1, Typinator, or KeyboardMaestro and see for yourself how much faster you can be.

Update 2015-09-01: TextExpander 5 will now suggest new snippets and remind you of existing ones which you tend not to use.

Benefits of MultiMarkdown citations

When I write anything, I capture ideas in my Zettelkasten in MultiMarkdown. I compose drafts for longer pieces in MultiMarkdown as well. When I need to hand in a paper, I convert MultiMarkdown to LaTeX to PDF.

Since MultiMarkdown has its own citations syntax, every citation in my Zettelkasten is done in this format.

Something something.[p 123][#citekey]

[#citekey]: (full-blown reference like in the example above)

When I put Markdown preview in nvALT exactly three years ago, I deliberately chose MultiMarkdown to support citations for acamedic writing. It served me well all these years and I’m glad Brett & David sticked to it when NV became nvALT.

It’s easy to go from .mmd to .tex and clean things up afterwards. LaTeX utilizes the BibTeX format to read bibliography information and generate manageable citations and a well-formed bibliography.

BibDesk bibliography manager

BibDesk

The software which fits like a glove when managing references seems to be BibDesk (Mac only). It’s storing everything in a .bib BibTeX file, hence everything is fully compatible with LaTeX.

The sweet part is how easily you can create your own export templates which in turn can be bound to the “copy” action at ⌘C (Cmd+C). Select the items in the library, hit “copy”, switch to nvALT, paste, done.

You can find the full citation template on GitHub and propose changes there.

You can find the other BibDesk templates in ~/Library/Application Support/BibDesk/Templates/. This is where I put mine, too. You have to add the template file to BibDesk’s preferences afterwards. They are overwhelmingly complex at first, but you only need worry about the setting panes called “Template Files” and “Citation Behavior” (see image).

Software Alternatives

Your reference manager should get out of your way and export references in a MultiMarkdown-friendly format if you’re like me. The more you cite your sources in notes the more you will want to have a shortcut to generate the citations quickly.

I’ve had my hands on various alternatives you might want to try for yourself:

  • Zotero is nice and platform independent but the export templates give me nightmares. Zotero is more useful if loathe LaTeX and prefer to write articles in Word or Pages since it can export bibliographies as rich text.
  • JabRef is a platform independent BibTeX database manager a friend of mine used for years. It’s ugly, but it does its job. Even on Windows.
  • Then there’s Mendeley, which has a unique spin: it incorporates social network features and stores attachments in its cloud service. You can share citations and cooperate on bibliographies with others, think collaborative research. Also, it totally turns me off because I don’t need any of this.

In the end, you could totally use a spreadsheet to keep track of author, title and year and a column with pre-formatted Markdown output. Cal Newport wrote a great introduction on how to use a lo-fi “Research Database” spreadsheet way back in 2007. His principles of organizing the database are well worth a read.

Outlook

Chances are you write a lot. Since I’m covering Mac applications a great deal, you probably have heard of Scrivener. When you collect your notes and ideas in your Zettelkasten, you may want to write your paper or your book with Scrivener. Since Scrivener utilizes MultiMarkdown, it’s a fully compatible extension to the note-taking workflow I’ve sketched. There’s a great article by Tim Brandes about writing and citing in Scrivener 2 which I enjoyed reading.

I picked my tools so they can be easily exchanged. A BibTeX database can be edited with any text editor. The popular MultiMarkdown syntax won’t go anywhere soon. What are your principles?

  1. Affiliate link; we get a small kickback to suppor this site from the vendor if you buy from our link but it won’t cost you anything.