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

Rendering issue with infix notation #66

Closed
pkra opened this issue Feb 3, 2015 · 5 comments
Closed

Rendering issue with infix notation #66

pkra opened this issue Feb 3, 2015 · 5 comments

Comments

@pkra
Copy link
Contributor

pkra commented Feb 3, 2015

Sample via Benetech

<math xmlns:mml="http://www.w3.org/1998/Math/MathML" mode="display" overflow="scroll">
          <mml:mrow>
            <mml:mfrac>
              <mml:mrow>
                <mml:mi>d</mml:mi>

                <mml:mi>x</mml:mi>
              </mml:mrow>

              <mml:mrow>
                <mml:mi>d</mml:mi>

                <mml:mi>θ</mml:mi>
              </mml:mrow>
            </mml:mfrac>

            <mml:mo>=</mml:mo>

            <mml:mfrac>
              <mml:mi>β</mml:mi>

              <mml:mrow>
                <mml:msup>
                  <mml:mo form="prefix">cos</mml:mo>

                  <mml:mn>2</mml:mn>
                </mml:msup>

                <mml:mi>θ</mml:mi>
              </mml:mrow>
            </mml:mfrac>
          </mml:mrow>
        </mml:math>

Sample Rendering:

unnamed

Since this doesn't happen on in core MathJax, it seems like a mathjax-node bug.

@pkra
Copy link
Contributor Author

pkra commented Feb 3, 2015

Should be fixed after mathjax/MathJax#1040

@pkra pkra added the Upstream label Feb 3, 2015
@pkra pkra added this to the 2.5-relase integration milestone Feb 3, 2015
@pkra
Copy link
Contributor Author

pkra commented Feb 10, 2015

Fixed after update to MathJax 2.5.

@pkra pkra closed this as completed Feb 10, 2015
@pkra pkra reopened this Mar 27, 2015
@pkra
Copy link
Contributor Author

pkra commented Mar 27, 2015

I tried this on a fresh develop branch and now get an error :-(

file:///tmp/MathJax-node/node_modules/MathJax/unpacked/MathJax.js:2353
        error.oncontextmenu = MathJax.Extension.MathEvents.Event.Menu;
                                                          ^
TypeError: Cannot read property 'Event' of undefined
    at file:///tmp/MathJax-node/node_modules/MathJax/unpacked/MathJax.js:2353:59
    at Function.CALLBACK.execute (file:///tmp/MathJax-node/node_modules/MathJax/unpacked/MathJax.js:236:26)
    at cb (file:///tmp/MathJax-node/node_modules/MathJax/unpacked/MathJax.js:218:59)
    at Object.BASE.Ajax.Require (file:///tmp/MathJax-node/node_modules/MathJax/unpacked/MathJax.js:725:9)
    at Object.MathJax.Hub.formatError (file:///tmp/MathJax-node/node_modules/MathJax/unpacked/MathJax.js:2352:20)
    at Object.MathJax.Hub.processError (file:///tmp/MathJax-node/node_modules/MathJax/unpacked/MathJax.js:2322:12)
    at Object.MathJax.Hub.processOutput (file:///tmp/MathJax-node/node_modules/MathJax/unpacked/MathJax.js:2300:32)
    at Function.CALLBACK.execute (file:///tmp/MathJax-node/node_modules/MathJax/unpacked/MathJax.js:236:26)
    at cb (file:///tmp/MathJax-node/node_modules/MathJax/unpacked/MathJax.js:218:59)
    at BASE.Object.Subclass.Process (file:///tmp/MathJax-node/node_modules/MathJax/unpacked/MathJax.js:488:38)

@pkra
Copy link
Contributor Author

pkra commented Mar 30, 2015

closing this again in favor of #85

@dpvc
Copy link
Member

dpvc commented Mar 30, 2015

This should be resolved by commit 0b4b10f listed above.

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

No branches or pull requests

2 participants