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
Warning if configuration is set via MathJax.Hub.Config #163
Comments
You're right, the test for no configuration comes before the loading of the In the meantime, if you include a non-empty
should do it. Can you tell me more about HTML viewers that cannot load resources with URL parameters? Davide |
One HTML viewer that cannot load resources with URL parameters is the HTML-Help viewer from Microsoft for *.chm files. |
Have you been able to get MathJax to work in this setting? There was a recent question sent to the contact list on the MathJax site about this, and I haven't been able to check into it. If you have a working configuration for .CHM files, would you be willing to share it? |
With jax:... (e.g.: jax: ["input/MathML","output/HTML-CSS","output/NativeMML"]) it was OK. MathJax then renders the formulas within .CHMs without warning (also tested under Windows XP with only IE 6 installed). The MathJax resources are included within the CHM file, but without the bitmap (image) files in the fonts directory because this would blow the CHM considerably. The formulas could even be printed from within the CHM (but not those in subtopics). |
Thanks for the details. I'm glad you have gotten MathJax to work in CHM files. It is possible to slim the MathJax directory down to reduce the size in this case. For example, since all versions of IE that MathJax supports can handle web-based fonts, there is no need for the image fonts (the largest part of the distribution), so you can remove the Davide |
Thanks for the good support, very nice work! |
A fix for this is included in the |
I've prepared a test Configuration/Hub/issue163.html for this issue. => In testsuite |
Stefan, I am also building a .chm file. My TeX equations are rendered by MathJax in italics. Did you encounter this issue? How did you work around it? In a flat browser (no MSHelp), my equations look fine with the present config. Thanks, Reid |
This is what I am using: MathJax.Hub.Config({tex2jax: { preJax: ["[math]"], inlineMath: |
If the configuration not not set via URL param but via MathJax.Hub.Config (code: MathJax.Hub.Config({config: ["MML_HTMLorMML-full.js"]})), then the warning "MathJax no longer loads a default configuration file; you must specify such files explicitly..." appears nevertheless. It should not appear. This is important for HTML viewers which cannot load resources with URL params.
The text was updated successfully, but these errors were encountered: