File: 0004-Used-the-system-Mathjax.patch

package info (click to toggle)
xrayutilities 1.7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,452 kB
  • sloc: python: 29,398; ansic: 4,232; makefile: 15
file content (24 lines) | stat: -rw-r--r-- 719 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Alexandre Marie <alexandre.marie@synchrotron-soleil.fr>
Date: Fri, 22 Mar 2019 09:15:58 +0100
Subject: Used the system Mathjax.

---
 doc/source/conf.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 9d6f8ae..2c55a35 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -240,6 +240,11 @@ man_pages = [
 # man_show_urls = False
 
 
+# -- Options for Sphinx output ------------------------------------------
+
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
+
 # -- Options for Texinfo output ------------------------------------------
 
 # Grouping the document tree into Texinfo files. List of tuples