don't use \mathrm{} on d in differentials in latex
in sympy documentation, don't use \mathrm{} where we mean \operatorname; don't use \mathrm{} on d in derivatives and integrals
in mpmath code, correct some latex markup in documentation