码迷,mamicode.com
首页 > 其他好文 > 详细

解决使用MathJax时弹出框显示MathJax no longer loads a default configuration file的问题~

时间:2015-03-10 17:20:03      阅读:246      评论:0      收藏:0      [点我收藏+]

标签:mathjax   web   


解决使用MathJax时弹出框显示MathJax no longer loads a default configuration file的问题~


MathJax no longer loads a default configuration file



I have been getting this error message on Maths and Physics network

MathJax no longer loads a default configuration file; you must specify such files explicitly. This page seems to use the older default config/MathJax.js file, and so needs to be updated. This is explained further at

http://www.mathjax.org/help/configuration

asked Nov 28 ‘11 at 17:48
技术分享
 
 
 
I‘ve seen this a few time in the last two months or so. No ability to reproduce it on demand, and it‘s been a while so perhaps it is finally gone. –  dmckee Nov 28 ‘11 at 19:15
 
I‘ve never seen this message on Electrical Engineering, where it‘s also enabled. –  Kevin Vermeer Nov 28 ‘11 at 20:53
 
I agree it does not seem reproducible, I have visited both networks again a few times but haven‘t seen the error again. –  Aqeel Zafar Nov 30 ‘11 at 8:27
 
@balpha: I saw this problem recently on Electronics SE when viewing it on HTC Desire S Android device. – sharptooth Feb 15 ‘12 at 8:26
正解:
dpvc commented on Aug 24 2011

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 MathJax/fonts/HTML-CSS/TeX/png directory, as you have already done. In fact, you can remove the otf and svgdirectories as well, since IE will only use the EOT fonts. Then you can remove the MathJax/unpackeddirectory entirely, since you will be running the compressed versions of the files, and you can delete the MathJax/test and MathJax/docs directories completely. If you are only using TeX input (not MathML), then I would recommend using the TeX-AMS_HTML-full configuration file. In that case, you can remove the MathJax/jax/input/MathML and MathJax/jax/output/NativeMML directories, and the MathJax/extensions/mml2jax.js and MathJax/extensions/jsMath2jax.js extensions. You can remove theFontWarnings.js and v1.0-warnings,js extensions as well, and you can delete all the configuration files except the one you are using. If you want to remove every possible file, then you can open the configuration file that you are using and remove the files listed in the MathJax.Ajax.Preloading() call at the top of the file, as those will all be included in the configuration file itself. So you should be able to get things down to a pretty small footprint if you want to.

Davide


       亲测知,删除单个文件MathJax/extensions/v1.0-warnings,js即可,而删除文件MathJax/extensions/v1.0-warnings,js可使得字体导入失败的提示不再显示...



解决使用MathJax时弹出框显示MathJax no longer loads a default configuration file的问题~

标签:mathjax   web   

原文地址:http://blog.csdn.net/youthlzu/article/details/44177021

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!