Blame 0001-Use-MathJax-TeX-fonts-rather-than-STIXWeb.patch

7722c40
From ea89aee27489e44c2366f086f524a1564f2a3f63 Mon Sep 17 00:00:00 2001
e5982eb
From: Jonathan Underwood <jonathan.underwood@gmail.com>
e5982eb
Date: Sat, 26 May 2018 21:15:14 +0100
e5982eb
Subject: [PATCH] Use MathJax TeX fonts rather than STIXWeb
e5982eb
e5982eb
---
7722c40
 notebook/static/base/js/mathjaxutils.js | 6 +++---
7722c40
 notebook/static/notebook/js/main.min.js | 6 +++---
e5982eb
 2 files changed, 6 insertions(+), 6 deletions(-)
e5982eb
7722c40
diff --git a/notebook/static/base/js/mathjaxutils.js b/notebook/static/base/js/mathjaxutils.js
7722c40
index 296f15e..4430bdf 100644
7722c40
--- a/notebook/static/base/js/mathjaxutils.js
7722c40
+++ b/notebook/static/base/js/mathjaxutils.js
7722c40
@@ -29,10 +29,10 @@ define([
e5982eb
                 // we use CSS to left justify single line equations in code cells.
e5982eb
                 displayAlign: 'center',
e5982eb
                 "HTML-CSS": {
e5982eb
-                    availableFonts: [],
e5982eb
+                    availableFonts: ["TeX"],
e5982eb
                     imageFont: null,
e5982eb
-                    preferredFont: null,
e5982eb
-                    webFont: "STIX-Web",
e5982eb
+                    preferredFont: "TeX",
e5982eb
+                    webFont: "TeX",
e5982eb
                     styles: {'.MathJax_Display': {"margin": 0}},
e5982eb
                     linebreaks: { automatic: true }
e5982eb
                 },
7722c40
diff --git a/notebook/static/notebook/js/main.min.js b/notebook/static/notebook/js/main.min.js
7722c40
index d782d36..4363c16 100644
7722c40
--- a/notebook/static/notebook/js/main.min.js
7722c40
+++ b/notebook/static/notebook/js/main.min.js
7722c40
@@ -26895,10 +26895,10 @@ define('base/js/mathjaxutils',[
e5982eb
                 // we use CSS to left justify single line equations in code cells.
e5982eb
                 displayAlign: 'center',
e5982eb
                 "HTML-CSS": {
e5982eb
-                    availableFonts: [],
e5982eb
+                    availableFonts: ["TeX"],
e5982eb
                     imageFont: null,
e5982eb
-                    preferredFont: null,
e5982eb
-                    webFont: "STIX-Web",
e5982eb
+                    preferredFont: "TeX",
e5982eb
+                    webFont: "TeX",
e5982eb
                     styles: {'.MathJax_Display': {"margin": 0}},
e5982eb
                     linebreaks: { automatic: true }
e5982eb
                 },
e5982eb
-- 
7722c40
2.30.0
e5982eb