Latex to jax(Mathjax preProcessors Html)

40 views
Skip to first unread message

Solo Se

unread,
Feb 13, 2015, 5:00:26 AM2/13/15
to mathja...@googlegroups.com
Hi,
  I want to show Latex in Android APP,but it show very slow.
so i wish change Latex to MathJax preProcessors  result Html first.

For example:
  Latex Data is "\(x={{y}^{2}}+1\)"
  Jax Data
  <span class="MathJax_Preview"></span><span class="MathJax" id="MathJax-Element-1-Frame" role="textbox" aria-readonly="true"><nobr><span class="math" id="MathJax-Span-2227" style="width: 5.015em; display: inline-block;"><span style="display: inline-block; position: relative; width: 4.72em; height: 0px; font-size: 106%;"><span style="position: absolute; clip: rect(1.772em 1000.003em 3.128em -0.469em); top: -2.768em; left: 0.003em;"><span class="mrow" id="MathJax-Span-2228"><span class="mi" id="MathJax-Span-2229" style="font-family: MathJax_Math-italic;">x</span><span class="mo" id="MathJax-Span-2230" style="font-family: MathJax_Main; padding-left: 0.298em;">=</span><span class="texatom" id="MathJax-Span-2231" style="padding-left: 0.298em;"><span class="mrow" id="MathJax-Span-2232"><span class="msubsup" id="MathJax-Span-2233"><span style="display: inline-block; position: relative; width: 1.005em; height: 0px;"><span style="position: absolute; clip: rect(1.949em 1000.003em 2.892em -0.528em); top: -2.532em; left: 0.003em;"><span class="texatom" id="MathJax-Span-2234"><span class="mrow" id="MathJax-Span-2235"><span class="mi" id="MathJax-Span-2236" style="font-family: MathJax_Math-italic;">y<span style="display: inline-block; overflow: hidden; height: 1px; width: 0.003em;"></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.538em;"></span></span><span style="position: absolute; top: -2.65em; left: 0.593em;"><span class="texatom" id="MathJax-Span-2237"><span class="mrow" id="MathJax-Span-2238"><span class="mn" id="MathJax-Span-2239" style="font-size: 70.7%; font-family: MathJax_Main;">2</span></span></span><span style="display: inline-block; width: 0px; height: 2.302em;"></span></span></span></span></span></span><span class="mo" id="MathJax-Span-2240" style="font-family: MathJax_Main; padding-left: 0.239em;">+</span><span class="mn" id="MathJax-Span-2241" style="font-family: MathJax_Main; padding-left: 0.239em;">1</span></span><span style="display: inline-block; width: 0px; height: 2.774em;"></span></span></span><span style="border-left-width: 0.003em; border-left-style: solid; display: inline-block; overflow: hidden; width: 0px; height: 1.253em; vertical-align: -0.247em;"></span></span></nobr></span><script type="math/tex" id="MathJax-Element-1">x={{y}^{2}}+1</script>

  If some body have same idea to do it ?

  I use the MathJax to change on browser(use Java handle the browser and simulation to analyze Latex),
but the analyze process is asynchronous by mathjax, i can not get the rusult at real time.
if some one know how to set mathjax do it right now?

  Thank you very much!
Reply all
Reply to author
Forward
0 new messages