Talk:MediaWiki and LaTeX on a host with shell access

From MediaWiki.org
Jump to navigation Jump to search

Important Notice to mathTeX public web service users[edit]

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.

Code Bug[edit]

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.

Wikitex[edit]

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)

Math typing fails. May wikitex help?[edit]

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?

Untitled[edit]

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?

Move Page[edit]

Can we move this page to a Sub-Page of the Math extension? --Schubi87 (talk) 20:14, 18 April 2013 (UTC)

It has more uses than only for the Math extension, it's better as a subject in its own right. --Rob Kam (talk) 00:12, 19 April 2013 (UTC)