Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.2k views
in Q2A Core by
 
 

It seems by enabling inline mathjax, I lose the WYSIWYG editor.  I added this to my header:

<script type="text/javascript" src="MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX", "output/HTML-CSS"],
    tex2jax: {
      inlineMath: [ ['$','$'], ["\\(","\\)"] ],
      displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
      processEscapes: true
    },
    "HTML-CSS": { availableFonts: ["TeX"] }
  });
</script>
<script type="text/javascript" src="MathJax.js">

Q2A version: 1.5

1 Answer

0 votes
by
edited by

My blind shot: your javescript can have some errors that break javascript and the onLoad event is not fired. The WYSIWYG editor launch on page load and therefore it doesn't show up.

In which folder do you have MathJax.js file ? Maybe the script loses reference to it ? You can try using Firebug addon for Firefox to debug problems.
I hope that you will get this to work.

by
It works well for me.  All I did was, added the relevant scripts at Admin-->Layout-->Custom HTML at bottom of every page: and Custom HTML in <HEAD> section of every page:
...