Closed wuker closed 12 years ago
It does work, but it requires setting the mathjax configuration to enable it.
In your wiki's configuration editor, change the plugin»mathjax»config
setting to something like this:
MathJax.Hub.Config({ tex2jax: { inlineMath: [ ["$","$"], ["\\(","\\)"] ], displayMath: [ ["$$","$$"], ["\\[","\\]"] ], processEscapes: true }, TeX: { equationNumbers: {autoNumber: "AMS"} } });
I'll update the plugin documentation to reflect this.
Thanks, it helps :)
on 2012/7/28 下午 08:10:28, Mark Liffiton reply@reply.github.com wrote: Re: [dokuwiki-plugin-mathjax] any way to insert numbered equation? (#2)
It does work, but it requires setting the mathjax configuration to enable it.
In your wiki's configuration editor, change the
plugin?mathjax?config
setting to something like this:MathJax.Hub.Config({ tex2jax: { inlineMath: [ ["$","$"], ["\\(","\\)"] ], displayMath: [ ["$$","$$"], ["\\[","\\]"] ], processEscapes: true }, TeX: { equationNumbers: {autoNumber: "AMS"} } });I'll update the plugin documentation to reflect this.
Reply to this email directly or view it on GitHub: https://github.com/liffiton/dokuwiki-plugin-mathjax/issues/2#issuecomment-7344446
By the way, I find this works in firefox and other browsers except for IE9. In IE9, all math are shown as text only. I don't know why. But If I open then webpage of mathjax, all math there shown properly. I just wondering if anything to do with this plugin. Thanks.
on 2012/7/28 下午 08:10:28, Mark Liffiton reply@reply.github.com wrote: Re: [dokuwiki-plugin-mathjax] any way to insert numbered equation? (#2)
It does work, but it requires setting the mathjax configuration to enable it.
In your wiki's configuration editor, change the
plugin?mathjax?config
setting to something like this:MathJax.Hub.Config({ tex2jax: { inlineMath: [ ["$","$"], ["\\(","\\)"] ], displayMath: [ ["$$","$$"], ["\\[","\\]"] ], processEscapes: true }, TeX: { equationNumbers: {autoNumber: "AMS"} } });I'll update the plugin documentation to reflect this.
Reply to this email directly or view it on GitHub: https://github.com/liffiton/dokuwiki-plugin-mathjax/issues/2#issuecomment-7344446
While I am reading the documentation of mathjax, I think it supports \begin{equation} environment but when I use the plugin in dokuwiki for mathjax, seems \begin{equation} doesn't work.