Mathjax does not work with chinese punctuation

Hi. The current Mathjax plugin can be quite annoying, for it only supports English punctuation.

For instance, $1+1$ is ok

However,$1+1$ fails. This really misses the point of rendering Mathjax. This only renders Mathjax for English only.

I use Mathjax for my blog. The original Mathjax or KaTeX works well with Chinese punctuation.

discourse: latest
discourse-mathjax-plugin: latest
2 Likes

any help of advice please?

I think this is the issue… do you want to try a PR for it and see if it fixes the issue for you?

Thanks for your help. It seems complex for me to deal with this. However, if you utilize MathJax like the official instruction. It should work without some heavy modifications. Have you ever checked this?

I believe this can be a huge bug for the MathJax plugin. Hope someone can fix it. :smile:

我测试了下,只要前后有空格就行了,见

你一个华人,难道你输入数学符合会专门带空格吗?这么抽象?这显然不符合论坛用户的输入习惯啊,而且也影响观感

Just a gentle reminder that it’s much easier for everyone to follow along if posts include an English translation. :pray:

2 Likes

PR here: should be merged soon.

2 Likes

Thanks so much! However, it still lacks one important feature. If there is no punctuation before the equation, it should also be rendered in Chinese grammar. For instance, 我们拿出$k$个向量

Thanks for your kind help!

1 Like