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

package info (click to toggle)
xrayutilities 1.7.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,660 kB
  • sloc: python: 49,871; ansic: 4,585; makefile: 15
file content (23 lines) | stat: -rw-r--r-- 855 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
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(+)

Index: python-xrayutilities/doc/source/conf.py
===================================================================
--- python-xrayutilities.orig/doc/source/conf.py	2025-11-17 18:26:45.466997481 +0100
+++ python-xrayutilities/doc/source/conf.py	2025-11-17 18:27:26.420486070 +0100
@@ -67,6 +67,10 @@
 # Output file base name for HTML help builder.
 htmlhelp_basename = 'xrayutilitiesdoc'
 
+# -- Options for Sphinx output ------------------------------------------
+
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 # LaTeX options
 latex_elements = {
     # The paper size ('letterpaper' or 'a4paper').