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
  • #1447
Closed
Open
Issue created Apr 20, 2016 by Administrator@rootContributor

"Math Processing Error" using CommonHTML with line breaks

Created by: hubgit

An error is thrown when rendering a formula with the CommonHTML renderer in a column that's narrow enough to trigger line breaking, when the linebreaks config is set to automatic: true.

> MathJax.Hub.lastError
> TypeError: Cannot read property 'CHTML' of undefined
    at MML.msubsup.Augment.CHTMLmoveLine (https://cdn.mathjax.org/mathjax/2.6-latest/unpacked/jax/output/CommonHTML/autoload/multiline.js?rev=2.6.1:521:37)
    at MML.mbase.Augment.CHTMLmoveSlice (https://cdn.mathjax.org/mathjax/2.6-latest/unpacked/jax/output/CommonHTML/autoload/multiline.js?rev=2.6.1:306:12)
    at MML.mbase.Augment.CHTMLmoveLine (https://cdn.mathjax.org/mathjax/2.6-latest/unpacked/jax/output/CommonHTML/autoload/multiline.js?rev=2.6.1:267:22)
    at MML.mbase.Augment.CHTMLmoveSlice (https://cdn.mathjax.org/mathjax/2.6-latest/unpacked/jax/output/CommonHTML/autoload/multiline.js?rev=2.6.1:306:12)
    at MML.mbase.Augment.CHTMLmoveLine (https://cdn.mathjax.org/mathjax/2.6-latest/unpacked/jax/output/CommonHTML/autoload/multiline.js?rev=2.6.1:267:22)
    at MML.mbase.Augment.CHTMLmoveSlice (https://cdn.mathjax.org/mathjax/2.6-latest/unpacked/jax/output/CommonHTML/autoload/multiline.js?rev=2.6.1:306:12)
    at MML.mbase.Augment.CHTMLmoveLine (https://cdn.mathjax.org/mathjax/2.6-latest/unpacked/jax/output/CommonHTML/autoload/multiline.js?rev=2.6.1:267:22)
    at MML.mbase.Augment.CHTMLaddLine (https://cdn.mathjax.org/mathjax/2.6-latest/unpacked/jax/output/CommonHTML/autoload/multiline.js?rev=2.6.1:195:12)
    at MML.mbase.Augment.CHTMLmultiline (https://cdn.mathjax.org/mathjax/2.6-latest/unpacked/jax/output/CommonHTML/autoload/multiline.js?rev=2.6.1:121:12)
    at MML.mrow.Augment.toCommonHTML (https://cdn.mathjax.org/mathjax/2.6-latest/unpacked/jax/output/CommonHTML/jax.js?rev=2.6.1:2593:16)

An example that reproduces the error.

This only occurs when using the CommonHTML renderer - the HTML-CSS renderer doesn't have the same problem.

HTML-CSS:

screen shot 2016-04-20 at 21 25 58

CommonHTML:

screen shot 2016-04-20 at 21 26 18

Assignee
Assign to
Time tracking