MathHubInfo / Frontend

A new MathHub Narration Frontend written in React.
GNU Affero General Public License v3.0
2 stars 0 forks source link

We need a CDN for MathJax.js for MathHub (and our other services) #71

Closed kohlhase closed 5 years ago

kohlhase commented 7 years ago

We are serving our MathHub content with MathJax for non-MathML browsers. But MathJax has shut down their content delivery network. See http://docs.mathjax.org/en/latest/start.html, so we have to adapt. This may affect other parts of our systems as well.

kohlhase commented 7 years ago

We should do this soon, since all the MathML we serve is unreadable in e.g. Chrome.

tkw1536 commented 7 years ago

You are probably aware, but will mention this anyways: This will break most (if not all) JOBAD scripts relying on MathML structure.

tkw1536 commented 7 years ago

As for a CDN, the Getting Started page on MathJax recommends the following code:

<script type="text/javascript" async
  src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

which already gives us a CDN.

kohlhase commented 7 years ago

You are probably aware, but will mention this anyways: This will break most (if not all) JOBAD scripts relying on MathML structure.

I am aware, but these things only work in MathML-aware browsers anyway. For the rest we can (with MathJax at least show the MathML. As far as I can remember, MathJax is not called on the browsers that have MathML support (e.g. Firefox). So it does not break anything that is not already more broken before.

I am not sure what we want to do here in the general case.

tkw1536 commented 7 years ago

There also is a JOBAD module around that loads MathJax whenever it is needed and only then. We should just be able to enable that (if I can find it).

On Mon, Apr 24, 2017, 08:28 Michael Kohlhase notifications@github.com wrote:

You are probably aware, but will mention this anyways: This will break most (if not all) JOBAD scripts relying on MathML structure.

I am aware, but these things only work in MathML-aware browsers anyway. For the rest we can (with MathJax at least show the MathML. As far as I can remember, MathJax is not called on the browsers that have MathML support (e.g. Firefox). So it does not break anything that is not already more broken before.

I am not sure what we want to do here in the general case.

— You are receiving this because you were assigned.

Reply to this email directly, view it on GitHub https://github.com/KWARC/MathHub/issues/260#issuecomment-296537341, or mute the thread https://github.com/notifications/unsubscribe-auth/ACya6hLiQFcXRJsOl5EwmIYeY-4TQXusks5rzEEZgaJpZM4NFcdQ .

kohlhase commented 7 years ago

Ah, interesting, maybe we should see that we align these.

Michael

On 24.04.17 08:48, Tom Wiesing wrote:

There also is a JOBAD module around that loads MathJax whenever it is needed and only then. We should just be able to enable that (if I can find it).

On Mon, Apr 24, 2017, 08:28 Michael Kohlhase notifications@github.com wrote:

You are probably aware, but will mention this anyways: This will break most (if not all) JOBAD scripts relying on MathML structure.

I am aware, but these things only work in MathML-aware browsers anyway. For the rest we can (with MathJax at least show the MathML. As far as I can remember, MathJax is not called on the browsers that have MathML support (e.g. Firefox). So it does not break anything that is not already more broken before.

I am not sure what we want to do here in the general case.

— You are receiving this because you were assigned.

Reply to this email directly, view it on GitHub

https://github.com/KWARC/MathHub/issues/260#issuecomment-296537341, or mute the thread

https://github.com/notifications/unsubscribe-auth/ACya6hLiQFcXRJsOl5EwmIYeY-4TQXusks5rzEEZgaJpZM4NFcdQ .

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/KWARC/MathHub/issues/260#issuecomment-296543573, or mute the thread https://github.com/notifications/unsubscribe-auth/AD2bok6XOsvCE48zX85R1oDFSj3BxdIcks5rzEXHgaJpZM4NFcdQ.

kohlhase commented 5 years ago

I am not sure this still applies, moving.

tkw1536 commented 5 years ago

This no longer applies, closing