"Math Processing error"
Hi,
i am able to display latex formula using this library, but problem is, after sometime i can see "Math Processing Error" in place of formula. It is happening in Samsung Galaxy A9(2018) device only.
Thanks Ramana.
I got this error too and do this :
after w.loadDataWithBaseURL(...) added this : w.setWebViewClient(new WebViewClient() { @Override public void onPageFinished(WebView view, String url) { super.onPageFinished(view, url); if (!url.startsWith("http://bar")) return; w.loadUrl("javascript:document.getElementById('math').innerHTML='\\[" + doubleEscapeTeX("sample string") + "\\]';"); w.loadUrl("javascript:MathJax.Hub.Queue(['Typeset',MathJax.Hub]);"); } });
You can read more at this => https://stackoverflow.com/questions/17029780/display-good-looking-math-formula-in-android
Hope it will help anyone else :)