ppoffice / hexo-theme-hueman

A redesign of Alx's wordpress theme Hueman, ported to Hexo.
http://ppoffice.github.io/hexo-theme-hueman/
GNU General Public License v2.0
1.17k stars 335 forks source link

Math Redering Problems #191

Closed kpaonaut closed 6 years ago

kpaonaut commented 6 years ago

I am not sure whether this is a problem of hexo or hueman. But mathjax rendering is not working properly. Basically I can not write any math in my text without encountering many problems.

For example, the text below is working with mathjax, but is not working when I try it on hexo:

A transformation function $f{\text{TSM}}$ could be found in the tangent space that maps the initial tangent graph at training to the initial tangent graph at test. That same function $f{\text{TSM}}$ can be utilized to warp...

Also, double $ is not working properly. You can not include a comma in $$ $$, for example.

I would be posting more of these problems once I encounter them. Thank you!

kpaonaut commented 6 years ago

Hope this will help: turns out that you need to use escape sign \ for any expressions before *,_ and other markdown signs, which makes your code bulky. Even though some maths interpreters boast of the ability to deal with this problem, they don't. You may also check here.

toaco commented 6 years ago

I also encountered this problem. There are the preview and the raw file.