MathTest: Difference between revisions

From bradwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Performing test of LaTeX maths rendering on this mediawiki===
<nowiki>
<math>g(x, y, m) = \frac{1}{2\pi t^2} e^{-\frac{x^2 + y^2}{2 t^2}}</math>
</nowiki>
{{Style|size=90%|align=center|border=1px dotted red|font=courier|background=none|color=red|pad=2px|margin=2px|Failed to parse Missing code texvc code executable. Failed to parse texvccheck}}
{{Style|size=90%|align=center|border=1px dotted red|font=courier|background=none|color=red|pad=2px|margin=2px|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===


Performing test of Latex maths rendering on wiki


<nowiki>
<nowiki>
<math>g(x, y, r) = \frac{1}{2\pi t^2} e^{-\frac{x^2 + y^2}{2 t^2}}</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>g(x, y, r) = \frac{1}{2\pi t^2} e^{-\frac{x^2 + y^2}{2 t^2}}</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


    Failed to parse Missing <code>texvccheck</code> executable.
    Please see math/README to configure. in /home/monakhos/bradleymonk.com/w/extensions/Math/MathInputCheckTexvc.php on line 65


; 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]
* [http://www.mediawiki.org/wiki/Extension_talk:Math#Terrible_documentation_-_just_had_a_hard_time_to_make_it_work Dreamhost workaround]
* [http://www.mediawiki.org/wiki/Extension_talk:Math#Terrible_documentation_-_just_had_a_hard_time_to_make_it_work Dreamhost workaround]
* [http://httpd.apache.org/docs/current/mod/mod_rewrite.html apache RewriteEngine htaccess]
* [http://httpd.apache.org/docs/current/mod/mod_rewrite.html apache RewriteEngine htaccess]
* [https://en.wikipedia.org/wiki/Help:Displaying_a_formula Help:Displaying_a_formula]
* [http://www.bradleymonk.com/cgi-bin/ cgi-bin]
* [http://www.forkosh.com/mimetex.html mimetex]
* [[Laplacian of Gaussian]]
* [[Laplacian of Gaussian]]
* [[Brownian Motion]]
* [[Brownian Motion]]
* [[Special:Version]]
* [[Special:Version]]

Latest revision as of 02:23, 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 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

<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