Main Page: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
This page is a preview for the new Math rendering that will get live at Wikipedia soon.
If you run your private wiki you can allow that users can input formulae
Registered user will be able to chose between
in different input formats.
;Source:<math forcemathmode="3">E=mc^2</math>(currently disabled via config)
Therefore you have to add <code>$wgMathEnableExperimentalInputFormats = true;</code> to your local config.
;PNG:<math forcemathmode="0">E=mc^2</math> (currently active)
Afterwards you can use two additional input modes which can be enabled via one of the following <code>type</code> attribute
;MathML:<math forcemathmode="5">E=mc^2</math>(no Mathoid server can be accessed from the Wikimedia production cluster)
;pmml: Presentation MathML
* In a first step MathML and SVG will be available to registered users only.
;ascii: ASCIIMath
** If you want to test please register an account here [http://math-preview.wmflabs.org/w/index.php?title=Special:UserLogin&type=signup&returnto=Help:Formula Register]
For example asciimath input can be entered via
*** You don't have to enter a email address nor any private information do not use a password that you use elsewhere
:<code><nowiki><math type="ascii">d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h</math></nowiki></code> and look like <math type="ascii">d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h</math>
** Change your Math rendering settings to MathML [http://math-preview.wmflabs.org/wiki/Special:Preferences#mw-prefsection-rendering here]
* Go to a [http://math-preview.wmflabs.org/wiki/Special:Random random page] or
* one of the test pages listed below.
==I found a bug==
If you find any bugs please report a bug at [https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=Math&version=master&short_desc=Math-preview%20rendering%20problem Bugzilla] or write a mail to math_bugs (at) ckurs (dot) de
==Test pages ==
*[[Displaystyle]]
*[[Unique Ids]]
*[[Help:Formula]]

Revision as of 12:17, 11 July 2014

If you run your private wiki you can allow that users can input formulae in different input formats. Therefore you have to add $wgMathEnableExperimentalInputFormats = true; to your local config. Afterwards you can use two additional input modes which can be enabled via one of the following type attribute

pmml
Presentation MathML
ascii
ASCIIMath

For example asciimath input can be entered via

<math type="ascii">d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h</math> and look like