title: How to use Mathjax in android, offline
body: <p>I saw this post</p>
  
  <p><a href="http://cs.jsu.edu/wordpress/?p=498" rel="nofollow">http://cs.jsu.edu/wordpress/?p=498</a></p>
  
  <p>and I tried using mathjax in offline</p>
  
  <p>I just want to include this code in my html</p>
  
  <p><code>w.loadDataWithBaseURL("http://bar/", "&lt;script type='text/x-mathjax-config'&gt;"
                                +"MathJax.Hub.Config({ " 
                                  +"showMathMenu: false, "
                                  +"jax: ['input/TeX','output/HTML-CSS'], " // output/SVG
                                  +"extensions: ['tex2jax.js','toMathML.js'], " 
                                  +"TeX: { extensions: ['AMSmath.js','AMSsymbols.js',"
                                    +"'noErrors.js','noUndefined.js'] }, "
                                //+"'SVG' : { blacker: 30, "
                                // +"styles: { path: { 'shape-rendering': 'crispEdges' } } } "
                                +"});&lt;/script&gt;"
                                +"&lt;script type='text/javascript' "
                                +"src='file:///android_asset/MathJax/MathJax.js'"
                                +"&gt;&lt;/script&gt;"
                                +"&lt;script type='text/javascript'&gt;getLiteralMML = function() {"
                                +"math=MathJax.Hub.getAllJax('math')[0];"
                                // below, toMathML() rerurns literal MathML string
                                +"mml=math.root.toMathML(''); return mml;"
                                +"}; getEscapedMML = function() {"
                                +"math=MathJax.Hub.getAllJax('math')[0];"
                                // below, toMathMLquote() applies &amp;-escaping to MathML string input
                                +"mml=math.root.toMathMLquote(getLiteralMML()); return mml;}"
                                +"&lt;/script&gt;"
                                +"&lt;span id='math'&gt;&lt;/span&gt;&lt;pre&gt;&lt;span id='mmlout'&gt;&lt;/span&gt;&lt;/pre&gt;","text/html","utf-8","");</code></p>
  
  <p>i tried many times but didn't work.</p>
  
  <p>i tried this html</p>
  
  <pre><code>&lt;script type='text/x-mathjax-config'&gt;
                            MathJax.Hub.Config({ 
                              showMathMenu: false, 
                              jax: ['input/TeX','output/HTML-CSS'],  // output/SVG
                              extensions: ['tex2jax.js','toMathML.js'], 
                              TeX: { extensions: ['AMSmath.js','AMSsymbols.js',
                                'noErrors.js','noUndefined.js'] }, "
                            'SVG' : { blacker: 30, 
                            styles: { path: { 'shape-rendering': 'crispEdges' } } } 
                            });&lt;/script&gt;
                            &lt;script type='text/javascript' 
                            src='file:///android_asset/MathJax/MathJax.js'
                            &gt;&lt;/script&gt;"
                            &lt;script type='text/javascript'&gt;getLiteralMML = function() {
                            math=MathJax.Hub.getAllJax('math')[0];
                            // below, toMathML() rerurns literal MathML string
                            mml=math.root.toMathML(''); return mml;
                            }; getEscapedMML = function() {
                            math=MathJax.Hub.getAllJax('math')[0];
  
                            mml=math.root.toMathMLquote(getLiteralMML()); return mml;}
                            &lt;/script&gt;
                            &lt;span id='math'&gt;&lt;/span&gt;&lt;pre&gt;&lt;span id='mmlout'&gt;&lt;/span&gt;&lt;/pre&gt;
  </code></pre>
  
  <p>I am not good at html help me please</p>