uclnlp / acl2015tutorial

Moro files for the ACL 2015 Tutorial on Matrix and Tensor Factorization Methods for Natural Language Processing
20 stars 6 forks source link

mathjaxx without web connection #10

Closed andreasvlachos closed 9 years ago

andreasvlachos commented 9 years ago

It works in editor view, but not in present. Could help while travelling!

sameersingh commented 9 years ago

Not sure why it works in the editor view, but an offline version of MathJax, checked into the git repo, will be ~200MB. That's too big!

If you truly want offline math, you can do that yourself quite easily.

  1. Download installation here
  2. Put it in somewhere and unzip, let's call it mathjax_path (it'll have a folder called MathJax-2.5-latest)
  3. cd moro/public/javascripts
  4. ln -s mathjax_path/MathJax-2.5-latest
  5. Go to line 32/33 in staticImports.scala.html, and comment/uncomment the respective lines.
  6. Boom!

Hope that works.