I am trying to include MathJax in my application. I deleted the files that were not needed for my application and reduced the size of the MathJax folder to 3Mb.
My mathjax folder is in the assests directory of my application. I tried linking mathjax with
<script type="text/javascript" src="/mathjax/MathJax.js?config=default"></script>
This does not work. Is my math path wrong? Since my application worked fine when I gave my source as
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default"></script>
Decision:
WRT Paul solution, here are the changes I made
<script type="text/x-mathjax-config"> MathJax.Hub.Config({ skipStartupTypeset: true, config: ['default.js'], jax: ["input/TeX","output/HTML-CSS"], extensions: ['tex2jax.js'] }); </script> <script type="text/javascript" src="file:///android_asset/antest_files/MathJax/MathJax.js"></script>
source share