From e7b08b72307a553135689f2630fb3056d66a8fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Tue, 19 Feb 2019 09:49:50 +0100 Subject: [PATCH] Use Mathjax from package manager. --- Makefile | 14 -------------- src/source/_static/mathjax | 1 + 2 files changed, 1 insertion(+), 14 deletions(-) create mode 120000 src/source/_static/mathjax diff --git a/Makefile b/Makefile index 84a99a025..63c783424 100644 --- a/Makefile +++ b/Makefile @@ -40,17 +40,3 @@ python: python/bin/python3 python/bin/python3: python3 -m venv python . python/bin/activate ; pip3 install --upgrade pip ; pip3 install sphinx recommonmark sphinx_rtd_theme -# cp py/pygment/dynare.py python/lib/python3.*/site-packages/pygments/lexers/ -# cd python/lib/python3.*/site-packages/pygments/lexers ; python3 _mapping.py - -mathjax: src/source/_static/mathjax/MathJax.js - @touch src/source/_static/mathjax/MathJax.js - -src/source/_static/mathjax/MathJax.js: mathjax-$(MATHJAX_VERSION).zip - unzip mathjax-$(MATHJAX_VERSION).zip - mv MathJax-$(MATHJAX_VERSION) src/source/_static/mathjax - -mathjax-$(MATHJAX_VERSION).zip: - wget https://github.com/mathjax/MathJax/archive/$(MATHJAX_VERSION).zip - mv $(MATHJAX_VERSION).zip mathjax-$(MATHJAX_VERSION).zip - @touch mathjax-$(MATHJAX_VERSION).zip diff --git a/src/source/_static/mathjax b/src/source/_static/mathjax new file mode 120000 index 000000000..871cc0900 --- /dev/null +++ b/src/source/_static/mathjax @@ -0,0 +1 @@ +/usr/share/javascript/mathjax/ \ No newline at end of file