我在Joomla上创建一个website,我正在用超文本标记语言写一篇文章。因为我需要写一些数学的东西,所以我用谷歌搜索了一下如何在超文本标记语言上使用LaTex。我遇到了这样的情况:https://github.com/widgetfactory/wf-mathjax
这是一个Joomla扩展(用PHP编写)。我已经安装了它,然后尝试使用标准的数学工具,例如$a =b+ c$,它起作用了!问题是,如果我现在只需要输入
<p>This text is (in parenthesis) but it doesn't work. </p>
然后,我得到的不是"This text is in (括号),但it‘t work",而是:
“此文本在括号中,但它不起作用。”
如何重现错误:
如果你点击链接到我的网站,在主图片后面你会看到:
其中我的HTML代码是:
<h1>Header 1</h1>
<h2>Header 2</h2>
<p>This text uses normal (parenthesis)</p>
<p>This text uses ASCII ( parenthesis ). </p>
<p>This is a list of stuff in parethesis (one two three four) and it doesn't work.</p>
<p> This is some inline math $a = b+c$</p>
发布于 2018-08-12 18:19:37
看起来括号被设置为mathjax分隔符。如果行内分隔符正确设置为$ $
(或更好的$$ $$
)而不是$ $,( )
,请检查扩展配置
扩展/插件->搜索mathjax
https://stackoverflow.com/questions/51742551
复制相似问题