adding more latex handling functions for emacs