File: local_mathjax.patch

package info (click to toggle)
qutip 5.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,868 kB
  • sloc: python: 44,578; cpp: 456; makefile: 175; sh: 16
file content (12 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
Index: qutip/doc/conf.py
===================================================================
--- qutip.orig/doc/conf.py	2025-02-21 11:17:54.476958324 +0100
+++ qutip/doc/conf.py	2025-02-21 11:17:54.476958324 +0100
@@ -245,6 +245,7 @@
 
 
 # -- Configure MathJax for maths output in HTML targets
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 
 # Currently (2021-04-10) Sphinx 3.5.3 loads MathJax 2.7, which does not have
 # support for the 'physics' package.  MathJax 3 does, so once Sphinx is using