Made private function _latexSpecialChars public to allow usage in other plugins

See https://www.dokuwiki.org/plugin:keyboard for sample usage (still commented out as this pull request has not been accepted and published as new plugin)