Mathjax内联不适用于本地文件

时间:2019-11-01 11:08:53

标签: mathjax

我已经从https://github.com/mathjax/MathJax下载了Currency Buy Sell CNY 90.290000 89.360000 CNH 90.380000 89.400000 USD 782.250000 785.250000 GBP 1,008.800000 1,020.400000 JPY 721.000000 730.200000 AUD 536.950000 543.800000 NZD 500.200000 506.650000 CAD 591.950000 599.100000 EUR 868.400000 878.400000 CHF 790.350000 797.850000 DKK 116.150000 117.750000 NOK 85.000000 86.400000 SEK 80.650000 82.150000 SGD 575.200000 579.450000 THB 25.550000 26.550000 BND 575.200000 579.450000 ZAR 51.000000 52.950000 ,并且 在我的代码中添加了如下脚本

mathjax.master

在使用<script type="text/x-mathjax-config"> MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"],["\\(","\\)"]] } }); </script> <script type="text/javascript" async src="/content/plugins/mathjx/MathJax-master/es5/tex-chtml-full.js"></script> (function () { window.UpdateMath = function (TeX) { //set the MathOutput HTML document.getElementById("letexpreview").innerHTML = TeX; //reprocess the MathOutput Element MathJax.Hub.Queue( ["Typeset", MathJax.Hub, "letexpreview"]); } })(); src时,它http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML-full内联可以正常工作,但不适用于本地 请尽快提供帮助。

0 个答案:

没有答案