[IPython-dev] mathjax not rendering in notebook

Fernando Perez fperez.net at gmail.com
Fri Aug 10 22:24:14 EDT 2012


Hi Matthew,

On Fri, Aug 10, 2012 at 4:21 PM, Matthew Brett <matthew.brett at gmail.com> wrote:
> Hi,
>
> I've run into some puzzling trouble using mathjax in the notebook.
>

> 1) y_3 instead of y_{3}
> 2) removing _i of \mathtt{t}_i

For me, #2 wasn't necessary, it worked only once I did #1.  I'm still
trying to figure out that one, though, as it's a pretty crippling
limitation, since it prevents you from doing any kind of subscript
with more than one character.

> I also found that I could not use `\\` in the notebook markdown for
> newline and had to use `\cr`.  Again, this was fine in the raw html
> mathjax.  Is there anything I can do to debug?

This is a known bug:  https://github.com/ipython/ipython/issues/1381.
Note that you can use `\\\` instead for now.  We do need to fix it,
obviously, as something in our JS is going awry with handling math.

If I can find at least a workaround for #1 above I'll ping back.

Cheers,

f



More information about the IPython-dev mailing list