summaryrefslogtreecommitdiff
path: root/debian/patches/local_mathjax.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/local_mathjax.patch')
-rw-r--r--debian/patches/local_mathjax.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/local_mathjax.patch b/debian/patches/local_mathjax.patch
new file mode 100644
index 0000000..ae2deba
--- /dev/null
+++ b/debian/patches/local_mathjax.patch
@@ -0,0 +1,18 @@
+Description: use locally installed mathjax
+ This patch makes use of the locally installed mathjax script so that equations
+ in the documentation can be rendered when no internet connection is available.
+Author: Paul Brossier <piem@debian.org>
+Forwarded: not-needed
+Last-Update: 2013-12-29
+
+--- a/doc/web.cfg
++++ b/doc/web.cfg
+@@ -1483,7 +1483,7 @@
+ # The default value is: http://cdn.mathjax.org/mathjax/latest.
+ # This tag requires that the tag USE_MATHJAX is set to YES.
+
+-MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
++MATHJAX_RELPATH = file:///usr/share/javascript/mathjax
+
+ # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
+ # extension names that should be enabled during MathJax rendering. For example