Fix markup

Hi Jason, I've fixed up some typos.  You'll also have to rebase on the latest 2014 branch, since I had to make provision for math-only footnotes.