FS#45999 - [jupyter] Use system mathjax

Attached to Project: Community Packages
Opened by Antonio Rojas (arojas) - Sunday, 16 August 2015, 13:24 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 14 August 2017, 02:49 GMT
Task Type Feature Request
Category Packages: Testing
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


jupyter ships a stripped down version of mathjax, with fonts and all, in /usr/lib/python3.4/site-packages/notebook/static/components/MathJax/. This could be replaced with a symlink to /usr/share/mathjax, which would save space, provide always the latest mathjax version, and make more fonts available.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Monday, 14 August 2017, 02:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  currently an optdepends, which appears to work okay and no one can give a convincing reason why this isn't sufficient.
Comment by Kyle Keen (keenerd) - Sunday, 16 August 2015, 13:30 GMT
I like this. Putting together Mathjax is the largest and slowest step of the build as well, and might remove the 'node' makedep.
Comment by Kyle Keen (keenerd) - Sunday, 16 August 2015, 15:18 GMT
Fixed in jupyter-4.0.2-4. The ipython-widgets are also enabled now.
Comment by Antony Lee (anntzer) - Thursday, 27 August 2015, 13:12 GMT
  • Field changed: Percent Complete (100% → 0%)
I consider that the fix creates a non-optional dependency on mathjax, which becomes just as necessary as the other notebook related dependencies. See also https://github.com/jupyter/notebook/issues/352#issuecomment-135351269
Comment by Kyle Keen (keenerd) - Friday, 29 January 2016, 23:31 GMT
It creates a nag that can be safely ignored. With the latest version the intensity of the nag has been decreased.

How is "non-optional dependency on mathjax"? I am presently using the notebook without Mathjax. It appears optional to me.