kiwix-js-pwa icon indicating copy to clipboard operation
kiwix-js-pwa copied to clipboard

MathML rendered improperly

Open Inbefortus opened this issue 3 years ago • 1 comments

  • ZIM: 2022-01 German Wikipedia
  • Article: Stickstoffdioxid

20220108_202703

Inbefortus avatar Jan 08 '22 19:01 Inbefortus

Ah yes, thank you @Inbefortus. I have struggled a bit with MathML that includes \displaystyle directives. For some reason the KaTeX library doesn't always recognize them. I'll check the regex that deals with these to see why it isn't matching.

The workaround, until fixed, is to use the slower SVG image display for MathML (see expert settings at the bottom of Configuration).

Jaifroid avatar Jan 10 '22 12:01 Jaifroid