Open atbradley opened 3 years ago
Hi Adam,
For me the following code
from latexifier import latexify
from fractions import Fraction
latexify(Fraction(3,8))
returns '\\frac{3}{8}'
as expected, so I cannot reproduce your error. I see two possible explanations:
try change sympy.numbers.Integer to sympy.core.Integer
Calling
latexify(Fraction(3,8))
throws this error:A call to
Math(latexify(3/8))
avoids this line and this error.