Add support for special case latex-mode.