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
  • #2932
Closed
Open
Issue created Sep 23, 2022 by Scruel Tao@scruel

Uncaught Error: MathJax retry

Issue Summary

Seems that first render will always get error for some special equations.

Steps to Reproduce:

  1. Open browser console
  2. Type and execute:
MathJax.tex2chtml('\\color{#FF0000}{x^2}')
  1. You will get the following error message:
Uncaught Error: MathJax retry
    retryAfter http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    g http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    p http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    parse http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    parse http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    parse http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    controlSequence http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    parse http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    parse http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    parse http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    Parse http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    t http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    compile http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    compile http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    m http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    renderConvert http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    convert http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    convert http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    i http://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js:1
    <anonymous> debugger eval code:1
  1. After error shows, repeat step 2 again, you will not get same error message anymore.

Refresh the page, then if you type MathJax.tex2chtml('x^2'), then you will not get any error even for your first call.

Technical details:

  • MathJax Version: 3.2.2
  • Client OS: Windows 10
  • Browser: Firefox 105, Edge 105

I am using the following MathJax configuration:

DEFAULT CONFIGURATION

and loading MathJax via

<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
Assignee
Assign to
Time tracking