Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some LaTeX is not rendered correctly #9

Open
betatim opened this issue Aug 20, 2015 · 2 comments
Open

Some LaTeX is not rendered correctly #9

betatim opened this issue Aug 20, 2015 · 2 comments

Comments

@betatim
Copy link

betatim commented Aug 20, 2015

http://lambdaops.com/gistexec/?gistID=54ef92537aaa7322c4de

some of the LaTeX is not rendered properly. Potentially wrong kind of MathJax?

@rgbkrk
Copy link
Owner

rgbkrk commented Aug 20, 2015

This is the config I use:

  //Init MathJax
  MathJax.Hub.Config({
      tex2jax: {
          inlineMath: [ ['$','$'], ["\\(","\\)"] ],
          displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
          processEscapes: true,
          processEnvironments: true
      },
      // Center justify equations in code and markdown cells. Elsewhere
      // we use CSS to left justify single line equations in code cells.
      displayAlign: 'center',
      "HTML-CSS": {
          availableFonts: [],
          imageFont: null,
          preferredFont: null,
          webFont: "STIX-Web",
          //styles: {'.MathJax_Display': {"margin": 0}},
          linebreaks: { automatic: true }
      }
  });
  MathJax.Hub.Configured();

@rgbkrk
Copy link
Owner

rgbkrk commented Oct 22, 2023

I come from the future. We need to migrate some MathJax.

image

 WARNING: cdn.mathjax.org has been retired. Check https://www.mathjax.org/cdn-shutting-down/ for migration tips.
replaceScript @ cdn.mathjax.org/math…MS-MML_HTMLorMML:32
gistexec.js:291 Uncaught ReferenceError: MathJax is not defined
    at gistexec (gistexec.js:291:3)
    at HTMLDocument.<anonymous> (?gistID=8639207f3401552553e8:118:21)
    at c (jquery.min.js:3:7857)
    at Object.fireWith [as resolveWith] (jquery.min.js:3:8658)
    at Function.ready (jquery.min.js:3:3266)
    at HTMLDocument.H (jquery.min.js:3:695)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants