[Python-modules-team] Bug#857928: jupyter-notebook: MathJax, cannot find STIX fonts

tobiasBora tobias.bora at gmail.com
Thu Mar 16 12:06:10 UTC 2017


Source: jupyter-notebook
Version: 4.2.1
Severity: important

Dear Maintainer,

When I run the jupyter-notebook (I call it from the sagemath version in the sid repo), there is an error when it tries to load some things that require MathJax:

$ sage --notebook=jupyter
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 7.4, Release Date: 2016-10-18                     │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
Please wait while the Sage Jupyter Notebook server starts...
[I 12:52:05.739 NotebookApp] Serving notebooks from local directory: /home/leo
[I 12:52:05.739 NotebookApp] 0 active kernels 
[I 12:52:05.740 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
[I 12:52:05.740 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 12:52:36.953 NotebookApp] Kernel started: 84c84d4f-9065-45b5-a7df-909965fb8329
[W 12:52:37.942 NotebookApp] 404 GET /static/components/MathJax/fonts/HTML-CSS/STIX-Web/woff/STIXMathJax_Main-Regular.woff?V=2.7.0 (::1) 7.96ms referer=http://localhost:8888/notebooks/Documents/Cours/2016_2017_-_2A0/Stage/Code/Sagemath/sage_draft.ipynb
[W 12:52:38.011 NotebookApp] 404 GET /static/components/MathJax/fonts/HTML-CSS/STIX-Web/otf/STIXMathJax_Main-Regular.otf?V=2.7.0 (::1) 1.05ms referer=http://localhost:8888/notebooks/Documents/Cours/2016_2017_-_2A0/Stage/Code/Sagemath/sage_draft.ipynb
[W 12:53:00.550 NotebookApp] 404 GET /api/kernels/553deaf0-7737-4adc-b6f0-7b57331e33da/channels?session_id=8E05B9438D974BB6A3EB1B6DD95A134A (::1): Kernel does not exist: 553deaf0-7737-4adc-b6f0-7b57331e33da
[W 12:53:00.551 NotebookApp] 404 GET /api/kernels/553deaf0-7737-4adc-b6f0-7b57331e33da/channels?session_id=8E05B9438D974BB6A3EB1B6DD95A134A (::1) 42.95ms referer=None

and indeed, it seems that the STIX fonts are not installed in the MathJax installation... So all the text displayed using Javascript are ugly. Could you please try to fix this bug?

Thank you,

Tobias.

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


More information about the Python-modules-team mailing list