Yunpeng_Tai reports an issue with the Mathjax plugin, which only supports English punctuation. This causes rendering issues with Chinese text, such as $1+1$ failing when preceded by a Chinese comma. Yunpeng_Tai notes that the original Mathjax or KaTeX works well with Chinese punctuation.
sam suggests a potential fix and invites Yunpeng_Tai to try a PR, but Yunpeng_Tai finds it complex and instead points out that using MathJax as per the official instructions should work without heavy modifications.
whitewaterdeu proposes a workaround by adding spaces around the mathematical symbols, but Yunpeng_Tai argues that this is not practical or visually appealing.
sam announces a PR that should fix the issue, but Yunpeng_Tai notes that it still lacks an important feature: rendering equations without punctuation before them in Chinese grammar.
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?
As a Chinese person, would you specifically add spaces when inputting mathematical symbols? Is it that abstract? This clearly does not conform to the input habits of forum users, and it also affects the visual appearance.
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$个向量