jupyter / jupyter/notebook

MathJax is `3.2.2`, but its configuration is for `2.7.7`

Open
#7,334 0 comments 0 reactions 0 assignees View on GitHub
maintenance
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

## Description

MathJax is `3.2.2`, but its configuration is for `2.7.7`

## Reproduce

1. Install a clean minimal Debian/unstable
2. `$ sudo apt-get install python3 pip`
3. `$ pip install notebook`
4. `$ jupyter notebook`

At https://github.com/jupyter/notebook/blob/main/notebook/app.py#L91 the version is `2.7.7`

In js console the version is `3.2.2`.

Major version mismatch causes AMS configuration for MathJax to fail.

## Expected behavior

## Context

- Operating System and version: Debian/unstable as of 2024-04-19
- Browser and version: Firefox 125
- Jupyter Notebook version: 7.1.3

Contributor guide

Open the contributing guide

Research direction

Inspect notebook/app.py around line 91 and compare its MathJax configuration with the 3.2.2 version reported in the browser console. Reproduce with the listed Debian, Firefox, and Notebook 7.1.3 setup; done means the configuration matches the loaded MathJax version and AMS configuration works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jupyter-notebook, python
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.