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
  • #604
Closed
Open
Issue created Oct 09, 2013 by Administrator@rootContributor

working in html but not in svg

Created by: kenjiejima

Hello everybody,

I've found an issue that may be a bug. I made a page that reproduces the bug at:

http://emilics.com/media/mathjaxtest/testformula1.html

Please see the html source for the actual math formulae. The output is SVG. I'm using MathJax 2.2.8 on my actual service but the page above uses 2.2-latest from your CDN.

On my browser (chromium 28, firefox 24, both on ubuntu 12.04) it gives me a red [Math Processing Error]. When I right click on that, select "Show Math As" and "Error Message", it gives me:

Error: g is undefined

Now, when I change the config from TeX-AMS-MML_SVG-full to TeX-AMS_HTML-full then it works like this:

http://emilics.com/media/mathjaxtest/testformula2.html

Nice. So it might be an error that only occurs in the SVG output settings. When I surround the formulae with an array environment then it works in SVG mode like this:

http://emilics.com/media/mathjaxtest/testformula3.html

In my formula, I'm using \phantom{ } to align formulae and I know that isn't the best way for alignment. I changed the formula for myself and that works but I wanted to let you know about this issue.

Best regards,

-- Kenji

Assignee
Assign to
Time tracking