Notebook: LaTeX rendering pipe ("|") character after each LaTeX expression

Created on 7 Feb 2016  Â·  16Comments  Â·  Source: jupyter/notebook

I think this is a bug ---every LaTeX expression written within a Markdown cell will append a "pipe" character (or maybe it's a vertical line?). I think this is new, and maybe something to do with MathJax and Jupyter interacting..

This happens locally, and on renderings with Github.

Here's an example ("Let's choose n=2")
https://github.com/rachelslaybaugh/NE155/blob/37a44fa402200c423cca1df8a3837d0fe9942433/07-08-approx-interp/Lagrange.ipynb

Duplicate

Most helpful comment

@takluyver confirm that doing pip install --upgrade notebook solved the problem for me, thank you ^__^

All 16 comments

Duplicate of #1053 and #1010 , fixed by #1032 (bug in chrome).

This is still an issue for me on Chrome. I have updated the Jupyter Notebook and the pipe still appears after the expression. What is the fix?

The fix should be in the latest version of the notebook (4.2.0). If you've just updated, you may be having browser caching issues - hit Ctrl-F5 a few times to force refresh.

@takluyver confirm that doing pip install --upgrade notebook solved the problem for me, thank you ^__^

I'm still seeing this issue.

Running Python 3.5.1 (Anaconda 4.0.0 (64-bit)) and Chromium 50.0.2661.102 built on Ubuntu 14.04, running on LinuxMint 17.2 (64-bit)

Running pip install --upgrade jupyter produces:

Requirement already up-to-date: jupyter in /opt/continuum/anaconda3/lib/python3.5/site-packages

Jupyter version is 4.1.0

Did you pip install --upgrade notebook, or just jupyter. updating the notebook fixed it for me

Yes, that did the trick, thanks!

I was under the impression that notebook was deprecated and that jupyter
was the replacement.

Apparently, I don't understand the relationship between jupyter and
notebook.

On Wed, Jun 1, 2016 at 1:58 PM, Michael Mansour [email protected]
wrote:

Did you pip install --upgrade notebook, or just jupyter. updating the
notebook fixed it for me

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jupyter/notebook/issues/1059#issuecomment-223091299,
or mute the thread
https://github.com/notifications/unsubscribe/AIOMex-u75TXcQijpPvh06uUYrFlXIR4ks5qHdZUgaJpZM4HVMQG
.

Jupyter is a meta pacakge.
jupyter does nothing by itself it just install the following:

        'notebook',
        'qtconsole',
        'jupyter-console',
        'nbconvert',
        'ipykernel',
        'ipywidgets',

Each of these may depend on jupyter_client, nbformat, etc....
It is perfectly reasonable to only want a subset of these – if you are interested in subpart of functionality of have a lightweight computer like a raspberry Pi –  and yes we agree that pip install jupyter --upgrade should update notebook, and is confusing though it is not how pip works.

Sorry --- is this still a bug for Github rendering?

Example:
https://github.com/marwahaha/triangles/blob/master/Triangles.ipynb

Not any more,
This was fixed by an update to the notebook. If you’re still encountering it, update your jupyter-notebook

On Jul 25, 2016, at 11:21 PM, Kunal Marwaha [email protected] wrote:

Sorry --- is this still a bug for Github rendering?

Example:
https://github.com/marwahaha/triangles/blob/master/Triangles.ipynb https://github.com/marwahaha/triangles/blob/master/Triangles.ipynb
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/jupyter/notebook/issues/1059#issuecomment-235173627, or mute the thread https://github.com/notifications/unsubscribe-auth/AHZJpvIg2XTOe7E194OJo_rKczgAwQBFks5qZad4gaJpZM4HVMQG.

<><><><><><><><><><><><><><>
Michael Mansour
Data Scientist & Graduate Student @ Galvanize
IBM Blockchain Labs
(650) 773-7974
Twitter: @sourmansweet

Hi, this bug is still present for me. I am on Chrome 52 and notebook 4.2.2.

Every jupyter notebook I see on Chrome with latex in it has this issue. Could I get help?

Ditto, but on Mac (Sierra) in Safari. I updated the notebook via pip as per above, then restarted my terminal, and Safari. Still the same problem.

Hi @jarmarshall - I had the same problem with new everything (chrome / safari / notebook) on El Capitan - _clearing the cache_ on Chrome and Safari ultimately fixed it for me - your mileage may vary

Thanks @bearsnowstorm - tried that (via 'Develop -> Empty Cache'). Then restarted the Jupyter notebook server. Still no joy. Maybe I should try running the server via Firefox or ...

OK, Firefox renders the LaTeX correctly (no bar). I'm guessing this bug is not fully resolved in Safari given the various steps I've taken.

Just stumbled across this. FWIW, clearing the cache and refreshing the browser (in Chrome) also cleared the problem for me.

Was this page helpful?
0 / 5 - 0 ratings