Further improved entity decoding for latex export since the built in kramdown entity encoder doesn't handle all the characters we allow in repositext.