Github messages for voidlinux
 help / color / mirror / Atom feed
From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] Mathjax in jupyter notebook is broken
Date: Tue, 14 Mar 2023 21:41:05 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42775@inbox.vuxu.org> (raw)

[-- 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

             reply	other threads:[~2023-03-14 20:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-14 20:41 tornaria [this message]
2023-03-14 21:15 ` tornaria
2023-03-14 23:42 ` sgn
2023-03-15  1:47 ` [ISSUE] [CLOSED] " sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42775@inbox.vuxu.org \
    --to=tornaria@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).