Made private function _latexSpecialChars public to allow usage in other
plugins.