Use Mathjax from package manager.

time-shift
Stéphane Adjemian (Charybdis) 2019-02-19 09:49:50 +01:00
parent 9e3141482b
commit e7b08b7230
Signed by untrusted user who does not match committer: stepan
GPG Key ID: A6D44CB9C64CE77B
2 changed files with 1 additions and 14 deletions

View File

@ -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

1
src/source/_static/mathjax Symbolic link
View File

@ -0,0 +1 @@
/usr/share/javascript/mathjax/