I have a trouble in mathjax (mediawiki 1.19)

56 views
Skip to first unread message

Jinha Park

unread,
Sep 30, 2012, 9:47:55 AM9/30/12
to dirk....@cs.kuleuven.be, mathja...@googlegroups.com

 I set up my wiki server (original latest version from mediawiki.org 1.19) and OS is Win 7

'Cause need some TeX represents, I tried several methods but most of them didn't work.

Finally I got mathjax.

It show proper result in preview of wikieditor! It was amazing!


<img src="http://thimg.todayhumor.co.kr/upfile/201209/d98f06110ef44504d3eab22cd06b4435.png">


In redbox, TeX form rendered successfully! It is exactly what i want!


After save this wiki, HOWEVER, those TeX not rendered......

Moreover, strange notation \( and \) cover my TeX fomulas.

For example, I wanna input right arrow (→ like this). So I type this line in my wiki page.

<math>\RightArrow</math>

But, my wiki shows proper TeX in preview only. After save, \(\RightArrow\) placed where → should be!


This is document after save.



I installed mathjax to my wiki through download two files(http://www.mediawiki.org/wiki/Extension:MathJax -> http://people.cs.kuleuven.be/~dirk.nuyens/Extension_MathJax/MathJax.php and mwMathJaxConfig.js) and put them in extensions/MathJax.

Did I do incorrect installation? or I have to set more options?

Bring me some help, please.



preview.png

Dirk Nuyens

unread,
Sep 30, 2012, 2:20:12 PM9/30/12
to Jinha Park, mathja...@googlegroups.com
Try disabling caching by adding "$wgParserCacheType = CACHE_NONE;" to your LocalSettings.php (and make certain it is not set to a different value afterwards in the same file). A similar question arises on the Discussion page http://www.mediawiki.org/wiki/Extension_talk:MathJax and this setting is also mentioned on the installation page.

D.
> <preview.png>


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Davide P. Cervone

unread,
Sep 30, 2012, 6:06:09 PM9/30/12
to mathja...@googlegroups.com
I think Dirk's comment is the right answer. See also

https://github.com/mathjax/MathJax/issues/248

for a similar discussion with an earlier version of MediaWiki.

Davide

dr.o...@gmail.com

unread,
Sep 30, 2012, 9:54:56 PM9/30/12
to mathja...@googlegroups.com, Jinha Park, dirk....@cs.kuleuven.be

 THX!!!

 I see proper TeX in document!! I'm so happy from your help.
Reply all
Reply to author
Forward
0 new messages