Improved citation handling in LaTeX
