Source: http://www.maths.adelaide.edu.au/anthony.roberts/LaTeX/Others/useEndnote.pdf