Main Page: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
Fw (talk | contribs)
No edit summary
No edit summary
 
(86 intermediate revisions by 67 users not shown)
Line 1: Line 1:
<timeline>
This is a preview for the new '''MathML rendering mode''' (with SVG fallback), which is availble in production for registered users.
DateFormat=yyyy
ImageSize= width:750 height:auto barincrement:20
Period = from:0 till:999
TimeAxis = orientation:horizontal
PlotArea = right:10 left:5 bottom:50 top:5


Colors =
If you would like use the '''MathML''' rendering mode, you need a wikipedia user account that can be registered here [[https://en.wikipedia.org/wiki/Special:UserLogin/signup]]
    id:world      value:rgb(0.6,0.5,0.99)
* Only registered users will be able to execute this rendering mode.
    id:continent  value:rgb(0.4,0.85,0.4)
* Note: you need not enter a email address (nor any other private information). Please do not use a password that you use elsewhere.
    id:country    value:rgb(0.9,0.8,0.6)
    id:territory  value:rgb(0.8,0.8,0.8)
    id:minorline  value:rgb(0.8,0.8,0.8)
    id:line      value:rgb(0.5,0.5,0.5)


PlotData=
Registered users will be able to choose between the following three rendering modes:  
  width:15 textcolor:black shift:(5,-5) anchor:from fontsize:s


  bar:C1 from:0 till:893 color:country text:"[[Fiji]]"
'''MathML'''
  bar:C2 from:0 till:863 color:country text:"[[Qatar]]"
:<math forcemathmode="mathml">E=mc^2</math>
  bar:C3 from:0 till:780 color:country text:"[[Cyprus]]"
  bar:C4 from:0 till:776 color:territory text:"[[Réunion]]"
  bar:C5 from:0 till:765 color:country text:"[[Guyana]]"
  bar:C6 from:0 till:688 color:country text:"[[Bahrain]]"
  bar:C7 from:0 till:671 color:country text:"[[Comoros]]"
  bar:C8 from:0 till:538 color:country text:"[[Solomon Islands]]"
  bar:C9 from:0 till:535 color:country text:"[[Equatorial Guinea]]"
  bar:C10 from:0 till:476 color:country text:"[[Djibouti]]"
  bar:C11 from:0 till:468 color:country text:"[[Luxembourg]]"
  bar:N1 from:0 till:449 color:territory text:"[[Macau]]"
  bar:C12 from:0 till:448 color:territory text:"[[Guadeloupe]]"
  bar:C13 from:0 till:438 color:country text:"[[Surinam]]"
  bar:C14 from:0 till:432 color:territory text:"[[Martinique]]"
  bar:C15 from:0 till:418 color:country text:"[[Cape Verde]]"
  bar:C16 from:0 till:398 color:country text:"[[Malta]]"
  bar:C17 from:0 till:349 color:country text:"[[Maldives]]"
  bar:C18 from:0 till:301 color:country text:"[[The Bahamas]]"
  bar:C19 from:0 till:296 color:country text:"[[Iceland]]"
  bar:C20 from:0 till:295 color:country text:"[[Northern Cyprus]]"
  bar:C21 from:0 till:279 color:country text:"[[Belize]]"
  bar:C22 from:0 till:279 color:country text:"[[Barbados]]"
  bar:C23 from:0 till:273 color:territory text:"[[Western Sahara]]"
  bar:C24 from:0 till:270 color:territory text:"[[French Polynesia]]"
  bar:C25 from:0 till:219 color:territory text:"[[Netherlands Antilles]]"
  bar:C26 from:0 till:216 color:territory text:"[[New Caledonia]]"
  bar:C27 from:0 till:205 color:country text:"[[Vanuatu]]"
  bar:C28 from:0 till:195 color:territory text:"[[French Guiana]]"
  bar:C29 from:0 till:193 color:territory text:"[[Mayotte]]"
  bar:C30 from:0 till:187 color:country text:"[[São Tomé and Príncipe]]"
  bar:C31 from:0 till:177 color:country text:"[[Samoa]]"
  bar:C32 from:0 till:168 color:territory text:"[[Guam]]"
  bar:C33 from:0 till:166 color:country text:"[[Saint Lucia]]"
  bar:C34 from:0 till:117 color:country text:"[[Saint Vincent and the Grenadines]]"
  bar:C35 from:0 till:112 color:country text:"[[Tonga]]"
  bar:C36 from:0 till:108 color:territory text:"[[U.S. Virgin Islands]]"
  bar:C37 from:0 till:108 color:country text:"[[Federated States of Micronesia]]"
  bar:C38 from:0 till:103 color:country text:"[[Kiribati]]"


ScaleMajor = gridcolor:line unit:year increment:100 start:0
<!--'''PNG'''  (currently default in production)
ScaleMinor = gridcolor:minorline unit:year increment:20 start:0
:<math forcemathmode="png">E=mc^2</math>


TextData =
'''source'''
  fontsize:S
:<math forcemathmode="source">E=mc^2</math> -->
  textcolor:black
  pos:(250,25) # tabs:(100-left)
  text:"Total population (in thousands)


</timeline>
<span style="color: red">Follow this [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering link] to change your Math rendering settings.</span> You can also add a [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering-skin Custom CSS] to force the MathML/SVG rendering or select different font families. See [https://www.mediawiki.org/wiki/Extension:Math#CSS_for_the_MathML_with_SVG_fallback_mode these examples].
 
==Demos==
 
Here are some [https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Frederic.wang demos]:
 
 
* accessibility:
** Safari + VoiceOver: [https://commons.wikimedia.org/wiki/File:VoiceOver-Mac-Safari.ogv video only], [[File:Voiceover-mathml-example-1.wav|thumb|Voiceover-mathml-example-1]], [[File:Voiceover-mathml-example-2.wav|thumb|Voiceover-mathml-example-2]], [[File:Voiceover-mathml-example-3.wav|thumb|Voiceover-mathml-example-3]], [[File:Voiceover-mathml-example-4.wav|thumb|Voiceover-mathml-example-4]], [[File:Voiceover-mathml-example-5.wav|thumb|Voiceover-mathml-example-5]], [[File:Voiceover-mathml-example-6.wav|thumb|Voiceover-mathml-example-6]], [[File:Voiceover-mathml-example-7.wav|thumb|Voiceover-mathml-example-7]]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-Audio-Windows7-InternetExplorer.ogg Internet Explorer + MathPlayer (audio)]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-SynchronizedHighlighting-WIndows7-InternetExplorer.png Internet Explorer + MathPlayer (synchronized highlighting)]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-Braille-Windows7-InternetExplorer.png Internet Explorer + MathPlayer (braille)]
** NVDA+MathPlayer: [[File:Nvda-mathml-example-1.wav|thumb|Nvda-mathml-example-1]], [[File:Nvda-mathml-example-2.wav|thumb|Nvda-mathml-example-2]], [[File:Nvda-mathml-example-3.wav|thumb|Nvda-mathml-example-3]], [[File:Nvda-mathml-example-4.wav|thumb|Nvda-mathml-example-4]], [[File:Nvda-mathml-example-5.wav|thumb|Nvda-mathml-example-5]], [[File:Nvda-mathml-example-6.wav|thumb|Nvda-mathml-example-6]], [[File:Nvda-mathml-example-7.wav|thumb|Nvda-mathml-example-7]].
** Orca: There is ongoing work, but no support at all at the moment [[File:Orca-mathml-example-1.wav|thumb|Orca-mathml-example-1]], [[File:Orca-mathml-example-2.wav|thumb|Orca-mathml-example-2]], [[File:Orca-mathml-example-3.wav|thumb|Orca-mathml-example-3]], [[File:Orca-mathml-example-4.wav|thumb|Orca-mathml-example-4]], [[File:Orca-mathml-example-5.wav|thumb|Orca-mathml-example-5]], [[File:Orca-mathml-example-6.wav|thumb|Orca-mathml-example-6]], [[File:Orca-mathml-example-7.wav|thumb|Orca-mathml-example-7]].
** From our testing, ChromeVox and JAWS are not able to read the formulas generated by the MathML mode.
 
==Test pages ==
 
To test the '''MathML''', '''PNG''', and '''source''' rendering modes, please go to one of the following test pages:
*[[Displaystyle]]
*[[MathAxisAlignment]]
*[[Styling]]
*[[Linebreaking]]
*[[Unique Ids]]
*[[Help:Formula]]
 
*[[Inputtypes|Inputtypes (private Wikis only)]]
*[[Url2Image|Url2Image (private Wikis only)]]
==Bug reporting==
If you find any bugs, please report them at [https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=Math&version=master&short_desc=Math-preview%20rendering%20problem Bugzilla], or write an email to math_bugs (at) ckurs (dot) de .

Latest revision as of 22:52, 15 September 2019

This is a preview for the new MathML rendering mode (with SVG fallback), which is availble in production for registered users.

If you would like use the MathML rendering mode, you need a wikipedia user account that can be registered here [[1]]

  • Only registered users will be able to execute this rendering mode.
  • Note: you need not enter a email address (nor any other private information). Please do not use a password that you use elsewhere.

Registered users will be able to choose between the following three rendering modes:

MathML

E=mc2


Follow this link to change your Math rendering settings. You can also add a Custom CSS to force the MathML/SVG rendering or select different font families. See these examples.

Demos

Here are some demos:


Test pages

To test the MathML, PNG, and source rendering modes, please go to one of the following test pages:

Bug reporting

If you find any bugs, please report them at Bugzilla, or write an email to math_bugs (at) ckurs (dot) de .