File: use_local_mathjax.patch

package info (click to toggle)
scipy 1.15.3-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 232,648 kB
  • sloc: cpp: 497,140; python: 327,782; ansic: 190,592; javascript: 89,553; fortran: 59,012; cs: 3,081; f90: 1,150; sh: 839; makefile: 780; pascal: 277; 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-01-16 15:19:43.528035558 +0100
+++ scipy/doc/source/conf.py	2025-01-16 15:19:43.520035487 +0100
@@ -273,6 +273,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}: "