I tested the following with sage -wiki and everything seems to work fine. There don't seem to be any conflicts between jsmath and mathjax, for example.

1. Install the following plugin by copying it into data/plugin/parser/sagecell.py:

https://gist.github.com/2288588

2. The following should also be added in the header of each page:

<script type="text/javascript" src="http://aleph.sagemath.org/static/jquery.min.js";></script> <script type="text/javascript" src="http://aleph.sagemath.org/embedded_sagecell.js";></script>

(I did this by adding the following two lines to the wikiconfig.py file:

     default_markup = 'jsmath'
html_head = '<script type="text/javascript" src="%s/common/js/jsmath/easy/load.js"></script>' % url_prefix_static + html_head += '<script type="text/javascript" src="http://aleph.sagemath.org/static/jquery.min.js";></script>' + html_head += '<script type="text/javascript" src="http://aleph.sagemath.org/embedded_sagecell.js";></script>'

Thanks,

Jason


--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to