Talk:Mediawiki and LaTeX on a host with shell access
to use mtag.php with math tag (not <m> or <tex>) just comment out case 'math': in includes/parser/Parser.php 87.116.212.130 04:23, 14 March 2009 (UTC)
Maybe tar xvf tetex-src-3.0.tar, not tar xvf tetex-src-3.0.tar.gz?
Contents |
[edit] Important Notice to mathTeX public web service users
mathTeX's ISP no longer permits "dreamhost" subdomains. That means your <img> tags of the form
<img src="http://www.forkosh.dreamhost.com/mathtex.cgi?c=\sqrt{a^2+b^2}" >
will not work after November 30, 2011. Change them all to
<img src="http://www.forkosh.com/mathtex.cgi?c=\sqrt{a^2+b^2}" >
That is, just remove the "dreamhost." from all tags. That works now. To repeat, the address of the public mathTeX server is now
http://www.forkosh.com/mathtex.cgi
so write tags of the form
<img src="http://www.forkosh.com/mathtex.cgi?c=\sqrt{a^2+b^2}" >
to access it. See http://www.forkosh.com/mathtex.html for more info. Thanks, John Forkosh.
[edit] Code Bug
As one can see the substituted string (f.e. $code) is not escaped. That means one can do html-injection (including JavaScript injection) and possibly (check is needed) php-code injection.
[edit] Wikitex
The whole paragraph wikitex is not clear at all. For example where do I get the file wikitex.math.inc.tex ? (The mentionned site [1] is not telling anything about this file)
- Best --Colonna 12:44, 3 January 2010 (UTC)
[edit] Math typing fails. May wikitex help?
I have problem with typing of math: the mediawiki cannot find the directory where the necessary components are, for example,
Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert): x^2
If I install wikitex, may it help to resolve the problem?