Display formula on the webpage

xiaoxiao2021-03-06  14

Put your mathematics on your network with Mathml

This record illustrates how to place Mathml enters the web, so that the extensive browser is now able to see these mathematical content smoothly. In addition, it will also tell you how to adjust your browser settings to display Mathml. It is often used to generate a browser with a web page and a matching process:

Windows:

IE 5.0 with Techexplorer plug-in IE 5.5 with MathPlayer or Techexplorer plug-ins IE 6.0, as the case with MathPlayer or Techexplorer plug-ins Netscape 6.1 with Techexplorer plug-in Netscape 7.0 PR1 Amaya (showing only MathML) Mozilla 0.9.9 Macintosh:

IE 5.0 with TechExplorer Plug-in Mozilla 0.9.9 Linux / UNIX:

Netscape 6.1 with TechExplorer Plug-in Netscape 7.0 Pr1 Mozilla 0.9.9 AMAYA (Mathml only)

You can browse the Mathml sample simple demonstration, or the Mathml advanced page (this page may take more time) to test your browser.

It is for those who wish to place the math formula into the web page, and those who want to read such content.

More about why the detailed technical content of how to do can refer to Mathml XSLT style sheet introducing Stylesheets for Mathml, and you can also refer to David. Crosline spectacked in the Mathml seminar.

Place Mathml in the webpage

In order to make all the platforms can be displayed normally, each file is best to meet the following rules. It is worth noting that if you use an editing software that follows the W3C standard, for example,: Amyma, these rules will be automatically completed.

1. Built a built-in Mathml (Inlined Mathml) with XHTML

The web page should use XHTML, built a Mathml tag, like the following example:

...

Example

....

x 3

These Mathml tags are not in the tag, or an external independent file link in the tag.

2. Add a style sheet

The following line (bold) must be inserted into the XHTML page start, before the start-up tag, XML declaration (If any):

...

This can be established in most cases (but Internet Explorer is not: because of the reason for security, the XSLT style sheet on another server is not allowed to perform the XSLT style sheet on another server, just like the file of XHTML Mathml. Encounter In this case, you can solve the "Off-line" instruction below. You can also refer to the end of the file for more information about IE security issues.) You can choose one:

Offline Status: If you contain mathematics, only for you to watch on your computer, don't have to connect to the internet network, then its declaration should write In addition, it is also necessary to copy the other style tables listed later to your own computer, and the main file Mathml.xsl, Pmathml.xsl, Ctop.xsl and Pmathmlcss.xsl are put together. Presentation Mathml: If the file consists of only Presentation Mathml (Translator Note: It means that the used Mathml tab is just a filling label for use), then as long as pmathml.xsl and pmathml-css.xsl, these two style sheets, It will be faster when it is displayed.

These are what you want. Under the bottom is a further information

Preference

Because the browser is not to use a method to render the Mathml tag (for example: IE can use TechExplore plug-in or CSS to render mathematical formula), so it provides a preferences for setting up, which is transverserer Attributes are reached, it belongs to another namespace (Name Space). E.g:

XMLns: pref = "http://www.w3.org/2002/math/preference"

Pref: renderer = "CSS">

...

...

Clear normally use CSS to present this page. Renderer's value is:

CSS: Rendering equation with CSS (not needed). MathPlayer-DL: If you need, jump out of a message to install MathPlayer. MathPlayer: Use MathPlayer's feature. TechExplorer-Plugin: Using the TechExplorer plug-in program. TechExplorer: Priority uses TechExplorer to convert.

Microsoft Internet Explorer security considerations

According to the preset value, if the XSLT style sheet is not placed on the same server (Server), Internet Explore is not allowed to use the XSLT style sheet. Therefore, use

is no effect. The alternative method is that you must copy the style sheet to the server-placed server (another) to modify the security settings for Internet Explore. But we don't recommend you to do this because it affects all browsing behaviors, just when you use this style sheet.

Mathml meeting brief

This style table used in the second international MathML meeting (2nd International Mathml Conference) report. This report is an example of a series of style sheets, and examples of these style sheets are designed by browser "full screen" mode. When this brief is published, we use IE6.0, Mozilla 1.0, Amaya 6.1 and Netscape 7.0PR1, each browser to view these examples.

In addition to Mathml, some examples extend from the style sheet to the SVG are also mentioned.

The Url of the Original: http://www.w3.org/math/xsl/

W3C Mathematics Working Group. Please send your suggestions, questions and solutions to www-math@w3.org

$ ID: OVERVIEW-Chinese.html, V 1.19 2003/08/22 16:34:26 MF EXP $

转载请注明原文地址:https://www.9cbs.com/read-47278.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.034, SQL: 9