Note: This post overlaps significantly with Mendeley’s blog post found here.
My current reference manager of choice is Mendeley, which is a free desktop and web solution designed for storing, annotating, and sharing research papers, discovering research data and collaborating online. It combines Mendeley Desktop, a PDF and reference management application (available for Mac, Linux, and Windows) with Mendeley Web, an online research paper management tool and social network for researchers. You can find a short YouTube video that describes what Mendeley is here.
For nearly all of my academic writing, I use LaTeX together with BibTeX. One of the many benefits of Mendeley is that it will automatically generate BibTeX files. However, at the time of writing this post (version 1.1.2 and earlier), integration with BibTeX is lacking in a few ways. In order for things to go smoothly, I suggest the following set up in Mendeley Desktop.
You want to uncheck the “Escape LaTeX special characters” box so that braces, backslashes, dollar signs, etc. don’t get clobbered by Mendeley when it generates the corresponding .bib files. You should choose “Create one BibTeX file per collection”. This generates one .bib file for each subcollection (folder or group) you create in Mendeley Desktop. If you don’t do this, Mendeley will create a duplicate entry in your synced .bib file for each entry appearing in a subcollection, which will in turn prevent LaTeX/BibTeX from compiling properly if you happen to cite one of the duplicate entries. I create a new subcollection for every document that I am writing that might require a bibliography.
Once you have got everything set up, it is really easy to incorporate Mendeley into your LaTeX writing workflow. If you want to cite a particular item, just click on it in Mendeley Desktop, hit “command/control-K” to copy the BibTeX citation key, then paste it into the appropriate location in your .tex file.