##// END OF EJS Templates
mpl mathtext doesn't support display math...
Min RK -
Show More
@@ -94,6 +94,8 b' def latex_to_png_mpl(s, wrap):'
94 except ImportError:
94 except ImportError:
95 return None
95 return None
96
96
97 # mpl mathtext doesn't support display math, force inline
98 s = s.replace('$$', '$')
97 if wrap:
99 if wrap:
98 s = u'${0}$'.format(s)
100 s = u'${0}$'.format(s)
99 mt = mathtext.MathTextParser('bitmap')
101 mt = mathtext.MathTextParser('bitmap')
General Comments 0
You need to be logged in to leave comments. Login now