# Mathjax in binaries #181

Open
wants to merge 5 commits into
from
+16 −16

## Conversation

Member

### robjloranger commented Sep 11, 2019

 removes the submodule for mathjax and instead includes a copy of the script ref #176, will need a tag and new release to close I have signed the CLA
 remove mathjax submodule 
 38c1bf9 
 include mathjax script 
this includes a copy of mathjax@3.0.0/es5/tex-mml-chtml.js
 aad4768 

Member

### thebaer commented Sep 11, 2019

 I think we also need the fonts and images from the library, right?
Member Author

### robjloranger commented Sep 11, 2019

 I'm not certain, the docs just say to link the one script. I did notice that the body is not being parsed properly though so I will need to see what's going on here.
 fix issue with fonts and not rendering 
 84d7ac3 
Member Author

### robjloranger commented Sep 11, 2019

 this uses the svg version which does not require any external fonts
Member Author

### robjloranger commented Sep 12, 2019

 something is weird again, this was working when I took that shot but now it's not 🤔
 add all mathjax components 
with only the single script, there were still many requests to a CDN.
this fixes that and speed up the page load a bit as well.
 2514529 
 Revert "add all mathjax components" 
This reverts commit 2514529.
 4d150fe 
Member Author

### robjloranger commented Sep 12, 2019

 I didn't want to but it seems the best solution. I added the full build of mathjax components and assets to avoid unwanted requests to CDNs. Firefox was/is just being weird and caching things, even with cache disabled.. other browsers are working as expected only using local files. tested with [chrome, chromium, opera, brave, midori]