The Technicalities of Writing a Paper for OOPSLA with Emacs and Zotero

The Technicalities of Writing a Paper for OOPSLA with Emacs and Zotero

3 Apr 2021
emacs, zotero, research

In the spring of 2021, I submitted a paper to the 2021 OOPSLA conference. These are my notes on how to use Emacs and Zotero to put together a technical paper, complete with bibliography, for the OOPSLA conference. Mostly this functions as notes for myself.

The OOPSLA conference uses the acmart LaTeX class. Put this at the top of your org file:

#+TITLE: Concrete Cross-Product
#+AUTHOR: Wiersdorf, Ashton
#+DATE: \today
#+LATEX_CLASS: acmart
#+LATEX_CLASS_OPTIONS: [sigplan,screen,review]

Originally I thought that I had to download some huge LaTeX templates, but it turns out the TexLive distro that I have on my Mac ships with the acmart class. You do have to install the Libertine font. With brew this should be pretty easy:

brew install --cask font-linux-libertine

If you’re on a different system, you can install from source. I’m not sure if this too comes bundled with any LaTeX distros. (Please correct me in the comments if I’m wrong!)

Emacs is aware of different document types, and will throw a fit if you try to export with the #+LATEX_CLASS set to acmart. You’ll need to add this to your .emacs to sooth it:

(add-to-list 'org-latex-classes
           '("acmart"
             "\\documentclass{acmart}"
             ("\\section{%s}" . "\\section*{%s}")
             ("\\subsection{%s}" . "\\subsection*{%s}")
             ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))

Citations #

TODO