ronkok / Temml

TeX-to-MathML conversion library in JavaScript
https://temml.org/
MIT License
162 stars 12 forks source link

LaTeX code differs from image in Mozilla test #26

Closed hbghlyj closed 1 year ago

hbghlyj commented 1 year ago

(This is not an issue of Temml per se)

In row 29 of https://temml.org/tests/mozilla-tests.html \lim_{n\rightarrow+\infty} {\sqrt{2\pi n}\over n!} {\binom{n}{e}}^n = 1 image In the image is $\left(\frac{n}{e}\right)$ but the code provided is $\binom{n}{e}$ without the horizontal fraction line.

Also see Fred Wang’s Mozilla test page image

ronkok commented 1 year ago

Good catch. I'll publish a fix tomorrow, along with a couple of bug fixes.

ronkok commented 1 year ago

Fixed now. Thanks for raising this issue.