Workaround for Sphinx not escaping ``_`` (underscore) for tex output

Workaround fixing #3326