This looks like copy/pasta from atc. Many of these settings are not needed and should probably be removed. For example:

- we do not need LaTeX or ASCIIMath loaded at all (would actually cause confusion)
- don't need custom escaping