Unverified Commit e7b08b72 authored by Stéphane Adjemian (Charybdis)'s avatar Stéphane Adjemian (Charybdis)
Browse files

Use Mathjax from package manager.

parent 9e314148
......@@ -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
/usr/share/javascript/mathjax/
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment