DCS
DCS

Reputation: 3394

IPython (Jupyter) notebook producing ghost line in all equations

I installed IPython / Jupyter using pip on a new machine (Macbook Air with El Capitan). In a fairly simple notebook of mine (created with the same version of the whole stack) all equations, inline or not, suddenly have a vertical line on the right hand side; same height as the embedded image.

This is the case even for a single inline symbol such as $x$. I have no complicated macros or any weird LaTeX hacking going on.

Does anybody know this?

Here's a picture.

enter image description here

Upvotes: 24

Views: 4158

Answers (1)

minrk
minrk

Reputation: 38608

This is a change in Chrome, affecting MathJax 2.5, which ships with Jupyter Notebook 4.1. Notebook 4.2 will bundle MathJax 2.6, which will fix this problem. In the meantime, you can tell the notebook to use latest MathJax from the CDN, by adding to ~/.jupyter/jupyter_notebook_config.py:

c.NotebookApp.mathjax_url = "https://cdn.mathjax.org/mathjax/latest/MathJax.js"

Other browsers do not appear to be affected.

Upvotes: 44

Related Questions