Ticket #9774: trac_9774-mathjax-flask-notebook-file-add-two.patch

File trac_9774-mathjax-flask-notebook-file-add-two.patch, 751 bytes (added by rbeezer, 9 years ago)
  • new file sagenb/data/sage/js/mathjax.js

    # HG changeset patch
    # User Rob Beezer <beezer@ups.edu>
    # Date 1308205897 25200
    # Node ID 13a033820aba05ad93314c128522b427b4d84503
    # Parent  de5da281bc2e8118707cc7fd1dcf6843fa496fdc
    9774: add mathjax.js file
    
    diff -r de5da281bc2e -r 13a033820aba sagenb/data/sage/js/mathjax.js
    - +  
     1MathJax.Hub.Config({
     2  tex2jax: {
     3    inlineMath: [['$','$'],['\\(','\\)']],
     4    processEscapes: true
     5  },
     6  extensions: ["jsMath2jax.js"],
     7  TeX: {
     8    Macros: {
     9      {{ theme_mathjax_macros }}
     10    }
     11  }
     12});
     13
     14// Remove http when standalone mathJax
     15MathJax.Ajax.loadComplete("http://localhost:8000/javascript/sage/mathjax.js");