Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmatrix rendered incorrectly #39

Closed
SichangHe opened this issue Nov 24, 2022 · 1 comment
Closed

vmatrix rendered incorrectly #39

SichangHe opened this issue Nov 24, 2022 · 1 comment

Comments

@SichangHe
Copy link
Collaborator

Math expressions that contains matrices are no longer rendered correctly.
For example,

\begin{vmatrix}a&b\\c&d\end{vmatrix}

is not parsed.

I have done some debugging and found out that the error comes from katex:

thread 'tests::test_katex_rendering_vmatrix' panicked at 'called `Result::unwrap()` on an `Err` value: JsExecError("undefined not callable (property 'fill' of [object Array]): JavaScript runtime error (TypeError)")', src/tests.rs:184:63

Changing katex back to use quick-js fixes this problem, so this regression is brought by duktype.

@SichangHe
Copy link
Collaborator Author

This issue is gone on UNIX but it is still on Windows.
Windows people, I am sorry. If you really need this, try WSL…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant