Show formulas on the webpage

Source: Internet
Author: User
Tags xsl xslt
Document directory
  • 1. Use XHTML to create an internal MathML (inlined MathML) Network
  • 2. Add a similar table

Use MathML to add data to the Web

This article explains how to place MathML on the Web so that the widely used browser can effectively see these data content. In addition, it will also tell you how to adjust the settings of your browser so that they can demonstrate MathML. Currently, it is often used to generate an external program for accessing the website:

  • Windows:

    • IE 5.0 with techexplorer plug-in
    • IE 5.5 with mathplayer or techexplorer plug-ins
    • IE 6.0, which is used with mathplayer or techexplorer plug-ins.
    • Netscape 6.1 With techexplorer plug-in
    • Netscape 7.0 PR1
    • Amaya (when MathML is displayed)
    • 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 (when MathML is displayed)

You can use the MathML example to upload a simple example, or MathML to upload a website (this website may need more time) to upload your browser.

It is for those who want to put the data formula into the website content, and those who want to share this content.

For more information about how to use the processing technology, you can refer to the XSLT-like table of MathML to introduce stylesheets for MathML. In addition, you can also take the exam. ke laiyun made a cast at the MathML seminar.

Place MathML in the website

In order to allow normal display on all platforms, it is recommended that each document comply with the following rules. It is worth noting that these rules will be automatically completed if you use the W3C-compliant semantic components such as amyma.

1. Use XHTML to create an internal MathML (inlined MathML) Network

The website should use XHTML to build the MathML mark internally, as shown in the following example:

<?xml version="1.0"?>

These MathML labels are not<object>Or<embed>This is the final conclusion of the external legal establishment case ,.

2. Add a similar table

The following line of characters must be inserted to the XHTML website.Before tagging, the declaration of XML<?xml...?>(If any ):

<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.w3.org/Math/XSL/mathml.xsl"?>

This can be set up in most cases.(But Internet Explorer does not work: for security reasons, on IE, it is not allowed to parse the XSLT format table on another server, it is like an XHTML + MathML file. In such a situation, you can follow the "off-line" statement below to solve the problem. You can also refer to more information about IE security issues at the end of the exam .)You can choose one from the following:

  • Too many bytes fetched (off-line): If a file containing data is only for you to view on your own computer, and you do not need to upload a website, then its declaration should be converted

    <?xml-stylesheet type="text/xsl" href="mathml.xsl"?>

    In addition, you also need to copy the other similar table listed in the back to your own computer, and the main file MathML. XSL, pmathml. XSL, ctop. XSL and pmathmlcss. put XSL together.

  • Presentation MathML: If the file only includes presentation MathML (author Note: All the MathML labels used are currently added as signature labels), as longpmathml.xslAndpmathml-css.xslThe two similar tables are faster than the preceding tables.

This is what you need to know. Next is the more advanced information

Preferred settings

Because the browser does not have to use a method to display the MathML mark (for example: ie can use tech‑e plug-in or CSS to present the data type), so it provides a preferred method, which is transparent.rendererIt is equivalent to another name space ). For example:

<?xml-stylesheet type="text/xsl" href="pmathml.xsl"?>xmlns:pref="http://www.w3.org/2002/Math/preference"      pref:renderer="css">

The clear name should be displayed in CSS.renderer The values include:

  • css: Use CSS to present the equation (external programming is not required ).
  • mathplayer-dl: If necessary, jump out of the Response Message of an Alibaba Cloud Security mathplayer.
  • mathplayer: Use the mathplayer function.
  • techexplorer-plugin: Use the external program of techexplorer.
  • techexplorer: Use techexplorer to renew your subscription.
Microsoft Internet Explorer security exams

If an XSLT-like table and a file are not placed on the same server, Internet-like e does not allow XSLT-like tables to be used. Therefore

<?xml-stylesheet type="text/xsl"href="http://www.w3.org/Math/XSL/mathml.xsl"?>

It does not work. The alternative is that you must copy the same table to the server where the file is stored. Another approach is to modify the Security Settings of Internet protocol E. However, we do not recommend that you do this because it will affect the use of such a type table, because it will not only affect the use of such a type table.

MathML conferences

This table is used in the 2nd International MathML Conference Statement. This notice is an example of a series of similar tables. The examples of these similar tables are designed in the "full screen" mode of the browser. In this example, we use ie6.0, Mozilla 1.0, Amaya 6.1, and Netscape prpr1 to view these examples.

In addition to MathML, examples that extend from a similar table to SVG are also mentioned.

The URL of the original: http://www.w3.org/Math/XSL/

W3C data work 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 $

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.