BibTeX Citation Tips

Date: 2022-04-27

Table of Contents

Introduction

This post contains miscellaneous tips for handling citations with BibTeX.

My procedure

While Google Scholar does offer BibTeX entries for anything you can find on it, they tend to be uneven (and often inferior) in quality to the ones you can find in more official databases. Here is my own personal procedure for finding BibTeX citations. The method varies by the field the paper is in:

For all other papers, I do the following1: I go to library.arizona.edu, search for the paper, then click ‘Export RIS’ and select ‘UTF-8’, then click ‘Download’. I then run the following command in my terminal: latest_citation_to_bibtex, which converts the .ris file to BibTeX and copies it to my clipboard. Then I can simply paste (Cmd-v) the BibTeX entry into my .bib file that I am using for the document I am currently working on.

This assumes that you have my latest_citation_to_bibtex script below with permissions that allow it to function as an executable and somewhere in your PATH:

The latest_citation_to_bibtex script assumes the availability of the following tools on your computer: ris2xml, xml2bib, bibtool. You can install ris2xml and xml2bib by running

sudo port install bibutils

You can install bibtool by running

sudo port install BibTool

  1. Caveat: This procedure assumes that you have a macOS computer - pbcopy is used to copy things to the macOS clipboard, and the port command is used to manage packages using MacPorts.