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

Math text bug #664

Open
Aphexus opened this issue Oct 23, 2024 · 2 comments
Open

Math text bug #664

Aphexus opened this issue Oct 23, 2024 · 2 comments

Comments

@Aphexus
Copy link

Aphexus commented Oct 23, 2024

Using Kiwix JS(not sure if it has the issue in others) on the page "Ping Pong Lemma" under examples the Math text is not showing up correctly:

Consider the standard action of SL2(Z) on R2 by [inear transformations. Put
X1 = ... |\right}}" loading="lazy">

For some reason the \right} is not being shown as a large bracket. Could be malformed in the page but likely not.

Image

@kelson42 kelson42 transferred this issue from kiwix/kiwix-android Oct 28, 2024
@Jaifroid Jaifroid transferred this issue from kiwix/kiwix-js Oct 29, 2024
@Jaifroid
Copy link
Member

@Aphexus I believe this is the PWA, correct? So I've transferred the issue here. Just so you're aware, there is a workaround for Wikipedia ZIMs, which si to use the image versions of the equations rather than to use KaTeX to transform the MathML. Go to Configuration -> Performance/Compatibility -> Mathematical and chemical equations... Now, click "Use SVG fallback images", and see if that fixes this issue.

In terms of fixing KaTeX's rendering, this is probably because of some unrecognized MathML in the current KaTeX version. I believe we should update KaTeX before trying anything else.

@Jaifroid
Copy link
Member

Jaifroid commented Nov 3, 2024

This is related to #627.

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

2 participants