File: use-local-mathjax-requirejs.patch

package info (click to toggle)
mapclassify 2.8.1-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,632 kB
  • sloc: python: 2,521; makefile: 44; lisp: 7
file content (16 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: use local mathjax and requirejs
Author: Nilesh Patra <nilesh@debian.org>
Forwarded: not-needed
Last-Update: 2023-08-21
--- mapclassify.orig/docs/conf.py
+++ mapclassify/docs/conf.py
@@ -309,7 +309,8 @@
     "--InlineBackend.rc={'figure.dpi': 96}",
 ]
 
-
+nbsphinx_requirejs_path = '/usr/share/javascript/requirejs/require.min.js'
+mathjax_path = '/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 mathjax3_config = {
     "TeX": {"equationNumbers": {"autoNumber": "AMS", "useLabelIds": True}},
 }