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
Incompatibility with MathJax 3.0 #7346
Comments
Interesting problem (and unfortunately expected), problem for doxygen is to keep the v2 and the v3 version working. I did some small tests and at first glance it looks like doxygen has no problem loading either file (from a local file or from a CDN). So in principle one should do a test to see which one of the 2 files is present and load this file (problem is I don't know how to do this, yet, in javascript). @doxygen do you know how to do this. A small test revealed that when trying to load both files from one place it looks like to work as well but in the "Firefox Inspector" I see a message like (depending on the version):
or
so to have this workaround it would be sufficient to duplicate the mentioned line in the For testing with a local version of MathJax a quick and dirty workaround is to copy the file |
In the mean time I pushed 2 questions into the internet:
but sofar no satisfying answer (i.e. answer without warnings). |
I just tried:
but it didn't work, doxygen complains that the file does not exists... I think a solution would be to create a variable |
Unfortunately there were after 2 weeks no real solutions (i.e. getting rid of the warnings while attempting to load a file). On stackoverflow there were some comments on the mathjax forum there was no reaction at all. The I don't think |
Implementing the possibility to use MathJax versie 3 - Added setting MATHJAX_VERSION - made setting for MATHJAX_RELPATH so that is suited for version Mathjax version3, i.e. selecting right default - made setting for MATHJAX_FORMAT so that is suited for version Mathjax version3, automatic conversion between MathJax 2 and MathJax3 format setting
I've just pushed a proposed patch, pull request #8496 |
issue #7346 Incompatibility with MathJax 3.0
Code has been integrated in master on github (please don't close the issue as this will be done at the moment of an official release). |
This issue was previously marked 'fixed but not released', |
doxygen includes MathJax in the following way, from
https://github.com/doxygen/doxygen/blob/a1c6157bba48fe87c38428e75e9e3476e2f2faf1/templates/html/htmlbase.tpl:
However, in MathJax 3.0 this file is no longer present: see
https://docs.mathjax.org/en/v3.0-latest/upgrading/v2.html#changes-in-loading-mathjax
so something else should be included instead.
The text was updated successfully, but these errors were encountered: