Main Page: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(136 intermediate revisions by 81 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
This is a preview for the new '''MathML rendering mode''' (with SVG fallback), which is availble in production for registered users.
<!-- Categories and interwikis go at the bottom of this page. -->


This template generates a book citation as above, using the {{tlx|cite book}} template.
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]]
* 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.


=== Usage ===
Registered users will be able to choose between the following three rendering modes:
<nowiki>{{Baxter-BritishLocoCat5B  | page=FOO}}</nowiki>
<nowiki>{{Baxter-BritishLocoCat5B  | pages=FOO–BAR}}</nowiki>
<nowiki>{{Baxter-BritishLocoCat5B  | ref=Baz}}</nowiki>


;Optional parameters:
'''MathML'''
* '''page''' - The relevant page number for a specific citation – the "p." prefix is automatically added
:<math forcemathmode="mathml">E=mc^2</math>
* '''pages''' - The relevant page numbers for a specific citation – the "pp." prefix is automatically added
If both {{para|page}} and {{para|pages}} are specified, {{para|page}} is ignored.
* '''ref''' - ID for anchor; if omitted, the special value {{para|ref|harv}} is used, so that {{tlx|harvnb|Baxter|1988|7=p=FOO}} etc. will link.
Apart from the default value {{para|ref|harv}}, the three parameters are passed unchanged to {{tlx|cite book}} - see [[Template:Cite book/doc|that template's documentation]] for further information.


=== See also ===
<!--'''PNG'''  (currently default in production)
Other templates in this series:
:<math forcemathmode="png">E=mc^2</math>
*{{tlx|Baxter-BritishLocoCat1}} – General summary and index of locomotive-owning companies.
*{{tlx|Baxter-BritishLocoCat2A}} – London & North Western Railway, and constituents.
*{{tlx|Baxter-BritishLocoCat2B}} – London & North Western Railway, and constituents.
*{{tlx|Baxter-BritishLocoCat3A}} – Midland Railway, and constituents.
*{{tlx|Baxter-BritishLocoCat3B}} – Lancashire & Yorkshire Railway, and constituents.
*{{tlx|Baxter-BritishLocoCat4}} – Caledonian Railway, Glasgow & South Western Railway, Highland Railway, Furness Railway, Maryport & Carlisle Railway, North Staffordshire Railway, and constituents.
*{{tlx|Baxter-BritishLocoCat5A}} – North Eastern Railway, Hull and Barnsley Railway.
*'''<tt><nowiki>{{Baxter-BritishLocoCat5B}}</nowiki></tt>''' – Great Northern Railway, Great Central Railway and constituents..
*{{tlx|Baxter-BritishLocoCat6}} – Great Eastern Railway, North British Railway, Great North of Scotland Railway, Midland & Great Northern Joint Railway, their constituents, and remaining companies in the LNER group.


<includeonly>
'''source'''
<!-- Categories and interwikis go here: -->
:<math forcemathmode="source">E=mc^2</math> -->
[[Category:Rail transport book citation templates]]
 
</includeonly>
<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 .