Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Mathjax in jupyter notebook is broken
@ 2023-03-14 20:41 tornaria
  2023-03-14 21:15 ` tornaria
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tornaria @ 2023-03-14 20:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]

New issue by tornaria on void-packages repository

https://github.com/void-linux/void-packages/issues/42775

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.15_1 x86_64

### Package(s) Affected

mathjax-3.2.2_1, python3-jupyter-4.7.1_3, python3-jupyter_notebook-6.4.10_2, ...

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

can use latex in markdown cells on jupyter notebooks.

### Actual behaviour

- opening a jupyter notebook shows an error "Failed to retrieve MathJax from".
- latex in markdown cells will not be rendered
- the jupyter notebook console gives the following error: `[W 16:11:32.933 NotebookApp] 404 GET /static/components/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (127.0.0.1) 1.140000ms referer=http://127.0.0.1:8888/notebooks/FuO/lab/Untitled.ipynb`

### Steps to reproduce

1. run `jupyter notebook`
2. create a new notebook (python 3)
3. errors mentioned above show up

OTOH, downgrading mathjax to 2.7.9_1 fixes this issue.

Apparently this is an upstream issue (https://github.com/jupyter/notebook/issues/5758)

The other package in void repo that depends on mathjax is calibre. I don't know if calibre can work with mathjax 2.7.4. At least the commit where calibre was updated from 2.7.9 to 3.2.2 (1cbfc88a48d80601904a5121b8c29289aa4115e5) does not mention calibre at all.

cc: @sgn

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mathjax in jupyter notebook is broken
  2023-03-14 20:41 [ISSUE] Mathjax in jupyter notebook is broken tornaria
@ 2023-03-14 21:15 ` tornaria
  2023-03-14 23:42 ` sgn
  2023-03-15  1:47 ` [ISSUE] [CLOSED] " sgn
  2 siblings, 0 replies; 4+ messages in thread
From: tornaria @ 2023-03-14 21:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/issues/42775#issuecomment-1468856055

Comment:
It seems we already ship a vendored in mathjax 2.7.9 in `python3-nbclassic` and, moreover, updating `python3-jupyter_notebook` to 6.5.3 will use mathjax from this package.

I will work on this and make a PR to update jupyter notebook et al to current versions.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mathjax in jupyter notebook is broken
  2023-03-14 20:41 [ISSUE] Mathjax in jupyter notebook is broken tornaria
  2023-03-14 21:15 ` tornaria
@ 2023-03-14 23:42 ` sgn
  2023-03-15  1:47 ` [ISSUE] [CLOSED] " sgn
  2 siblings, 0 replies; 4+ messages in thread
From: sgn @ 2023-03-14 23:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/42775#issuecomment-1469011178

Comment:
IIRC, mathjax 2.7 don't share any files with mathjax 3.x, we can install 2 packages

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ISSUE] [CLOSED] Mathjax in jupyter notebook is broken
  2023-03-14 20:41 [ISSUE] Mathjax in jupyter notebook is broken tornaria
  2023-03-14 21:15 ` tornaria
  2023-03-14 23:42 ` sgn
@ 2023-03-15  1:47 ` sgn
  2 siblings, 0 replies; 4+ messages in thread
From: sgn @ 2023-03-15  1:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1480 bytes --]

Closed issue by tornaria on void-packages repository

https://github.com/void-linux/void-packages/issues/42775

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.15_1 x86_64

### Package(s) Affected

mathjax-3.2.2_1, python3-jupyter-4.7.1_3, python3-jupyter_notebook-6.4.10_2, ...

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

can use latex in markdown cells on jupyter notebooks.

### Actual behaviour

- opening a jupyter notebook shows an error "Failed to retrieve MathJax from".
- latex in markdown cells will not be rendered
- the jupyter notebook console gives the following error: `[W 16:11:32.933 NotebookApp] 404 GET /static/components/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (127.0.0.1) 1.140000ms referer=http://127.0.0.1:8888/notebooks/FuO/lab/Untitled.ipynb`

### Steps to reproduce

1. run `jupyter notebook`
2. create a new notebook (python 3)
3. errors mentioned above show up

OTOH, downgrading mathjax to 2.7.9_1 fixes this issue.

Apparently this is an upstream issue (https://github.com/jupyter/notebook/issues/5758)

The other package in void repo that depends on mathjax is calibre. I don't know if calibre can work with mathjax 2.7.4. At least the commit where calibre was updated from 2.7.9 to 3.2.2 (1cbfc88a48d80601904a5121b8c29289aa4115e5) does not mention calibre at all.

cc: @sgn

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-15  1:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-14 20:41 [ISSUE] Mathjax in jupyter notebook is broken tornaria
2023-03-14 21:15 ` tornaria
2023-03-14 23:42 ` sgn
2023-03-15  1:47 ` [ISSUE] [CLOSED] " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).