Fixing Bibtex Files Made by Mendeley

Mendeley is a popular citation manager but it doesn’t properly export bibtex files. Bibtex files (with a .bib extension) are used to add your references to papers compiled in LaTeX. You can find many reports of these problems, including the Mendeley support page. Some of these problems haven’t been officially fixed for over 6 years! In this post I will share some code that addresses these problems, including:

  • Constraints on what you can write in the “year” field
  • Extra curly braces around titles
  • Incorrect format of “month”
  • Ability to select what types of entries include the URL (instead of only webpages)

Continue reading “Fixing Bibtex Files Made by Mendeley”