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

[Bug] Matrices are not rendering when using Mathjax #8110

Closed
1 task
twisp007 opened this issue Feb 14, 2021 · 5 comments
Closed
1 task

[Bug] Matrices are not rendering when using Mathjax #8110

twisp007 opened this issue Feb 14, 2021 · 5 comments

Comments

@twisp007
Copy link

twisp007 commented Feb 14, 2021

Reproduction Steps

Using Mathjax write a matrix.

\[\begin{bmatrix}
1 & -2 & 1 \\
0 & 2 & -8\\
-4 & 5 & 9 \\
\end{bmatrix}\]
Expected Result

In Desktop Anki it works fine.

Actual Result

In AnkiDriod it doesn't.

Research
  • [x ] I have read the support page and am reporting a bug or enhancement request specific to AnkiDroid
  • [ x] I have checked the manual and the FAQ and could not find a solution to my issue
  • [ x] I have searched for similar existing issues here and on the user forum
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)
@mikehardy
Copy link
Member

Hi there! Does this still happen with the alphas? Some heavy work has been done on mathjax between 2.14 and the 2.15alpha series - https://github.com/ankidroid/Anki-Android/releases

@twisp007
Copy link
Author

Both Google Play Version and the latest alpha version have this problem.

The issue seems to be that some HTML creeps into the Mathjax code. But only AndiDroid has an issue with this. The desktop version of Anki displays the matrices with no problem.

One way to avoid HTML creeping into Mathjax code is to drop into the "HTML Editor View (ctrl+shift+x)" and type in the Mathjax code.

Since deviant behavior from the desktop version is considered a bug in AnkiDroid am I leaving the issue open.

@mikehardy
Copy link
Member

Very interesting - yes this should be addressed, and that's good info re: html creeping in / workaround - thank you

@github-actions
Copy link
Contributor

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2021

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

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

No branches or pull requests

3 participants