ifarup / ciefunctions

Python module, GUI, and web app for computing the CIE TC1-97 colorimetric functions
GNU General Public License v3.0
4 stars 5 forks source link

Default rendering of MathJax is set to HTML #171

Closed gerardodiego closed 7 years ago

gerardodiego commented 7 years ago

The default rendering for MathJax on the description is set to HTML on description.py module. Please test with SVG or provide with an option so that the webapp doesn't propagate this default.

gerardodiego commented 7 years ago

Okay, I will create a branch so I can do some modifications to the python code. If it works, we merge again =)

gerardodiego commented 7 years ago

Jan Henrik commented to me that a colleague mentioned that the most compatible render engine for MathJax was MathML. I just want to show that Chrome on mac is giving me this notice when I change the render engine.

screen shot 2016-10-04 at 10 13 06
gerardodiego commented 7 years ago

... and effectively, the MathML renderer won't work on Chrome. @TODO: test on more browsers. For now I will go for the SVG renderer, and then for a configuration which allows to select the preferred engine.

gerardodiego commented 7 years ago

Screenshot:

screen shot 2016-10-04 at 10 15 15
gerardodiego commented 7 years ago

Fixed! It was a configuration error on the test server (doh!).

@janhenrikwold MathML doesn't work neither on Chrome nor the standalone app.