Okay, this has been a very frustrating adventure for me. I have spent many hours over several successive days trying to get MathJax to enable and recognize the mhchem extension within a Markdown cell in ipython notebook. Math expressions worked fine, but the mhchem macros \ce
\cf
\cee
just go unrecognized. I have tried enabling the extension in the MathJax/config/default.js
file. I tried putting the following script code with the Markdown window
<script type="text/x-mathjax-config">
MathJax.Hub.Config({TeX: {extensions:["TeX/mhchem.js"]}
...
});
</script>
I have tried every trick and tip I could find on the internet. Nothing seems to work.
I am running debian wheezy. I thought maybe the default mhchem and MathJax packages were causing the problem, so I installed a custom version of MathJax for ipython notebook into my profile_default/static directory and configured ipython to use this. Again, math fine, chemistry a no go. I am able to use the mhchem extensions directly from TeX but MathJax just refuses to load the extension or recognize the \ce
tags.
I am stumped!
Anyone have any ideas?