Opened 9 years ago
Last modified 9 years ago
#48750 new defect
notebook: incomplete support for MathJax
Reported by: | akimd (Akim Demaille) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | petrrr | |
Port: | py-notebook |
Description
Hi,
Using py34-notebook, when I open a notebook and try some LaTeX with \newcommand, it does not work. A simple example: $\newcommand{\foo}{bar}\foo$.
Yet the logs in the browser include:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (newcommand.js, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery.min.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (backbone-min.map, line 0)
As you can see, newcommand.js is not very it is expected to be. I have no idea if the two other errors are benign, but I guess they should be checked too.
Thanks.
Change History (7)
comment:1 Changed 9 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to stromnov@… |
---|---|
Port: | py-notebook added; py34-notebook removed |
comment:2 Changed 9 years ago by mf2k (Frank Schima)
Cc: | stromnov@… removed |
---|
comment:3 Changed 9 years ago by petrrr
Cc: | petr@… added |
---|
comment:4 Changed 9 years ago by akimd (Akim Demaille)
There are more files missing. Is someone watching this?
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (Latin1Supplement.js, line 0) http://localhost:8888/static/components/MathJax/jax/element/mml/optable/Latin1Supplement.js?rev=2.5.3 [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (GeneralPunctuation.js, line 0) http://localhost:8888/static/components/MathJax/jax/element/mml/optable/GeneralPunctuation.js?rev=2.5.3 [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (CombDiactForSymbols.js, line 0) http://localhost:8888/static/components/MathJax/jax/element/mml/optable/CombDiactForSymbols.js?rev=2.5.3 [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (backbone-min.map, line 0) http://localhost:8888/static/components/backbone/backbone-min.map [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery.min.map, line 0) http://localhost:8888/static/notebook/js/jquery.min.map
comment:5 Changed 9 years ago by stromnov (Andrey Stromnov)
For now, Jupyter Notebook (version 4.0.4) doesn't contains newcommand.js, as well as .map files and MathJax/jax/element/mml/optable/* files (note, the same issue true for Continuum Anaconda distribution).
comment:6 Changed 9 years ago by akimd (Akim Demaille)
You mean that the bug is in the upstream package? If so, did you report the problem upstream?
comment:7 Changed 9 years ago by akimd (Akim Demaille)
I think I found their tickets about this: https://github.com/jupyter/notebook/pull/324. IIUC, this will be part of 4.1.
Cc Me!