Fix problem with export-as-latex emacs command