File: use_local_mathjax.patch

package info (click to toggle)
scipy 1.16.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 234,868 kB
  • sloc: cpp: 503,162; python: 344,795; ansic: 195,670; javascript: 89,566; fortran: 56,210; cs: 3,081; f90: 1,150; sh: 855; makefile: 788; pascal: 284; csh: 135; lisp: 134; xml: 56; perl: 51
file content (22 lines) | stat: -rw-r--r-- 866 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: SVN-Git Migration <python-modules-team@lists.alioth.debian.org>
Date: Mon, 12 Oct 2015 15:17:20 -0700
Subject: use_local_mathjax

Setting mathjax_path variable to use the local mathjax javascript library
Patch-Name: use_local_mathjax.patch
---
 doc/source/conf.py | 1 +
 1 file changed, 1 insertion(+)

Index: scipy/doc/source/conf.py
===================================================================
--- scipy.orig/doc/source/conf.py	2025-06-24 17:46:13.006111399 +0200
+++ scipy/doc/source/conf.py	2025-06-24 17:46:12.998111325 +0200
@@ -283,6 +283,7 @@
 htmlhelp_basename = 'scipy'
 
 mathjax_path = "scipy-mathjax/MathJax.js?config=scipy-mathjax"
+mathjax_path='/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 
 # sphinx-copybutton configurations
 copybutton_prompt_text = r">>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.{3,}: | {5,8}: "