[IPython-dev] mathjax not rendering in notebook
Fernando Perez
fperez.net at gmail.com
Fri Aug 10 23:06:20 EDT 2012
On Fri, Aug 10, 2012 at 4:21 PM, Matthew Brett <matthew.brett at gmail.com> wrote:
>
> In the notebook this renders as "$$ \begin{array}{c} y_{11} \cr y_{12}
> \mathtt{t}i \cr y{13} \end{array} $$" - i.e. somehow rejected by
> mathjax. The following make it render correctly:
>
> 1) y_3 instead of y_{3}
> 2) removing _i of \mathtt{t}_i
It seems the thing that confuses it most is the mathtt call. If I
remove it altogether (and using \\\ for line separators), then I can
use y_{3, 4} and t_{i, j} no problem. Or, if there are no complex
subscripts, the mathtt call by itself is OK. But there's something
very brittle inside that is messing up mathjax's processing of this.
Filed it here, b/c I'm out of ideas:
https://github.com/ipython/ipython/issues/2289
Cheers,
f
More information about the IPython-dev
mailing list