# Math processing error on Android app with LaTeX pmod

Any LaTeX block rendered on the Android app that contains pmod, such as $2^{36} = 2^{6^2} = (2^6)^2 \equiv (2^2)^2 \pmod {12} \equiv 2^2 \pmod {12}$, displays as [Math processing error] in red. The Mathematics site is the only site I use/see LaTeX on.

For reference, this is a common command and it renders correctly in MathJax when I view it on the website.

• A new MathJaX was deployed not so long time ago, and if you have some files cached from the old one, you can get this error. I just make sure that you made sure that you emptied the browser/app cache before. (Sorry, I'm not a "smart" guy, maybe what I say is a non-sense for the Android app, then I apologize.) – yo' Feb 28 '15 at 2:09
• I think the Android app ships its own local copy of MathJax. – Peter Krautzberger Feb 28 '15 at 8:56
• The \pmod macro uses \mathchoice internally, and that requires the extensions\TeX\mathchoice.js file. make sure that hasn't been removed from the MathJax distribution included in your app. If that's not the problem, it may still be that something is going wrong while that file is being processed. You could add <script type="text/x-mathjax-config">MathJax.Hub.Queue(function () {alert(MathJax.Hub.lastError.mesage)})</script> before the script that loads MathJax.js to get an alert that indicates the error that cause the problem. – Davide Cervone Feb 28 '15 at 18:30
• Still repro'd on v1.0.82 (beta). Example post: math.stackexchange.com/questions/38517/… (on Math.SE) – Meta Andrew T. Jan 22 '16 at 7:12
• @andrew I actually don't see it there. Scary to think it might not be predictable. – Matt Samuel Jan 22 '16 at 11:31