MathTest: Difference between revisions
Jump to navigation
Jump to search
Bradley Monk (talk | contribs) No edit summary |
Bradley Monk (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
===Performing test of LaTeX maths rendering on this mediawiki=== | |||
Performing test of | |||
<nowiki> | <nowiki> | ||
Line 6: | Line 5: | ||
</nowiki> | </nowiki> | ||
<math | |||
Failed to parse Missing <code>texvc</code> executable. Failed to parse texvccheck | |||
Please see math/README to configure. in /home/monakhos/bradleymonk.com/w/extensions/Math/MathInputCheckTexvc.php on line 65 | |||
* Test status: FAIL | |||
===Modifying LocalSettings.php to use the new MathML (MW_MATH_MATHML)=== | |||
########### LaTeX MATH | |||
require_once( "$IP/extensions/Math/Math.php" ); | |||
$wgTrustedMathMimetexUrl = '$IP/extensions/cgi-bin/mimetex.cgi?'; | |||
$wgMathValidModes[] = MW_MATH_MATHML; | |||
$wgUseMathML = true; | |||
$wgDefaultUserOptions['math'] = MW_MATH_MATHML; | |||
$wgMathDisableTexFilter = true; | |||
//Based on MathJax code... | |||
//$wgMathValidModes[] = MW_MATH_MATHJAX; // Define MathJax | |||
//$wgUseMathJax = true; // Enable MathJax | |||
//$wgDefaultUserOptions['math'] = MW_MATH_MATHJAX; // Set MathJax as default | |||
//$wgMathDisableTexFilter = true; // or compile "texvccheck" | |||
===Retest of LaTeX maths rendering on this mediawiki=== | |||
<nowiki> | <nowiki> | ||
<math> | <math>g(x, y, m) = \frac{1}{2\pi t^2} e^{-\frac{x^2 + y^2}{2 t^2}}</math> | ||
</nowiki> | </nowiki> | ||
<math> | <math>g(x, y, m) = \frac{1}{2\pi t^2} e^{-\frac{x^2 + y^2}{2 t^2}}</math> | ||
* Test status: PASS | |||
; HELL YEAH! ... ''back to work'' | |||
==Resources== | |||
* [http://latexml.mathweb.org/editor?demo=eqn latexml] | |||
* [http://www.mediawiki.org/wiki/Extension:Math Extension:Math] | * [http://www.mediawiki.org/wiki/Extension:Math Extension:Math] | ||
* [http://www.mediawiki.org/wiki/Manual:$wgUseTeX Manual:$wgUseTeX] | * [http://www.mediawiki.org/wiki/Manual:$wgUseTeX Manual:$wgUseTeX] |
Revision as of 02:19, 1 May 2015
Performing test of LaTeX maths rendering on this mediawiki
<math>g(x, y, m) = \frac{1}{2\pi t^2} e^{-\frac{x^2 + y^2}{2 t^2}}</math>
Failed to parse Missing texvc
executable. Failed to parse texvccheck
Please see math/README to configure. in /home/monakhos/bradleymonk.com/w/extensions/Math/MathInputCheckTexvc.php on line 65
- Test status: FAIL
Modifying LocalSettings.php to use the new MathML (MW_MATH_MATHML)
########### LaTeX MATH require_once( "$IP/extensions/Math/Math.php" ); $wgTrustedMathMimetexUrl = '$IP/extensions/cgi-bin/mimetex.cgi?';
$wgMathValidModes[] = MW_MATH_MATHML; $wgUseMathML = true; $wgDefaultUserOptions['math'] = MW_MATH_MATHML; $wgMathDisableTexFilter = true;
//Based on MathJax code... //$wgMathValidModes[] = MW_MATH_MATHJAX; // Define MathJax //$wgUseMathJax = true; // Enable MathJax //$wgDefaultUserOptions['math'] = MW_MATH_MATHJAX; // Set MathJax as default //$wgMathDisableTexFilter = true; // or compile "texvccheck"
Retest of LaTeX maths rendering on this mediawiki
<math>g(x, y, m) = \frac{1}{2\pi t^2} e^{-\frac{x^2 + y^2}{2 t^2}}</math>
- Test status: PASS
- HELL YEAH! ... back to work