Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #2836
Closed
Open
Issue created Feb 15, 2022 by Administrator@rootContributor

Mathjax 3.2.0 (and earlier versions too) have broken svg layout when compared to 2.5 series

Created by: kevinhendricks

Issue Summary

Attached is a testmj.zip folder which has mathml pages extracted from the official epub 3.0 test suite extracted into xhtml.

This test is nice as it has its own images of what the mathml should look like when properly processed by MathJax.

I have tested with FireFox, Safari, Chrome, and QtWebEngine (Sigil and PageEdit) and all show the same errors under MathJax 3.2.0, 3.1.X, etc

The .xhtml file names indicates the the version of MathJax and the output chosen.

Using the mml-svg testcase you can see that the series, integral, and infinite sum equations at the top of the file no longer layout properly (and have not in any of the MathJax after 3.0.5).

The testsuite also shows issues with bidirectional multiscipts in rtl in both mml-svg and mml-chtml.

Included is also a test of the newly added back mml3 extension (trying to follow the latest MathJax 3.2 docs to enable it) but it fails every time with mlongdiv unknown. Perhaps I have set it up incorrectly.

Steps to Reproduce:

  1. Unzip testmj.zip
  2. Use Safari, Chrome, etc to "Open File" the .xhtml files in testmj/text/
  3. The test name indicates what is being tested (please choose an svg output one)

Results should be similar to old single file MathJax 2.7.5 included beside the xhtml files.

Technical details:

  • MathJax Version: 3.2
  • Client OS: Mac OS X 10.15, Windows 11, QtWebEngine (Qt 6.2.3 and Qt 5.12.9), etc
  • Browser: Chrome, Safari, Firefox, etc

Supporting information:

Attached standalone test case so you can see everything.

testmj.zip

Assignee
Assign to
Time tracking