# [IPython-dev] mathjax equation number is incremented on cntr-enter

Zoltán Vörös zvoros at gmail.com
Thu Aug 14 03:04:41 EDT 2014

Hi Min,

Thanks for the pointer! And now I understand why I didn't find this
issue: it has been known for too long a time...

Cheers,
Zoltán

On 08/13/2014 07:17 PM, MinRK wrote:
>
> This is a known issue
> <https://github.com/ipython/ipython/issues/4113>, where mathjax
> generates an equation number for each equation it renders, so they
> keep increasing on each render. In order to get proper equation
> numbering, all equations (markdown cells) on the page would need to be
> re-rendered every time any equation is. There isn’t a good shortcut
> for this at the moment, but reloading the page should work.
>
> -MinRK
>
> ​
>
>
> On Thu, Aug 7, 2014 at 9:46 PM, Zoltán Vörös <zvoros at gmail.com
> <mailto:zvoros at gmail.com>> wrote:
>
>     Hi all,
>
>     I don't know, whether this is a known issue (a quick search did
>     not turn up anything), in fact, I don't even know, whether this is
>     an issue at all, but I believe, the markdown cell did behave
>     differently in the past. In short, it seems to me that mathjax
>     increments the equation number, whenever I press Cntr-Enter on a
>     markdown cell. Here is my notebook, and here is the code that
>     produces the problem:
>
>
>     x = y
>
>
>     I haven't removed anything, yet, the equation is labelled (4). Can
>     someone comment on this? In particular, whether this was intended?
>     Is this, perhaps, related to the security problem that was
>     floating around recently? I am running the latest code from master.
>
>     Cheers,
>
>     Zoltán
>
>     _______________________________________________
>     IPython-dev mailing list
>     IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>     http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev