google / mathsteps

Step by step math solutions for everyone
https://socratic.org
Apache License 2.0
2.12k stars 274 forks source link

Better support for mixed numbers #199

Open ldworkin opened 7 years ago

ldworkin commented 7 years ago

Right now mathjax cannot parse a mixed number like 1 3/4; instead it expects the input to look like e.g. 1(3)/(4), which is parsed as division with implicit multiplication in the numerator. This is confusing and unintuitive. We can definitely fix when we have a custom parser, but can we do anything smarter in the meantime?

evykassirer commented 7 years ago

one thought is to change it to (1 + 3/4) before you send to mathsteps - or do you think that makes it not a mixed fraction anymore and is confusing?

ldworkin commented 7 years ago

Yea, I don't like this solution -- that messes up the pedagogy that Gen wanted for this.

evykassirer commented 7 years ago

ah okay, I see!