Home > Projets > ScientificPad / MathMLPad [en] > ScientificPad xhtml, MathML and tm Progress

ScientificPad xhtml, MathML and tm Progress

News about ScientificPad and save format.

Wednesday 16 January 2008, by ScientificWare

What I can do

 2008-01-16


 The xhtml + mathml output I want :

  • Version Amaya 11.1
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
          "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
        <html xmlns="http://www.w3.org/1999/xhtml">
            <head>
                <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
                <title>Nouveau</title>
                <meta name="generator" content="ScientificPad, see http://www.scientificware.com" />
            </head>
            <body>
                <p>This is a perfect square :</p>
                <p>
                    <math xmlns="http://www.w3.org/1998/Math/MathML">
                        <msup>
                            <mrow>
                                <mo>(</mo>
                                <mrow>
                                    <mi>a</mi>
                                    <mo>+</mo>
                                    <mi>b</mi>
                                </mrow>
                                <mo>)</mo>
                            </mrow>
                            <mn>2</mn>
                        </msup>
                    </math>
                </p>
            </body>
        </html>
  • Version antérieure Amaya
        <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 
            <head>
                <title>MathML's Hello Square</title>
            </head>
            <body>
                <p> This is a perfect square:</p>
                <math xmlns="http://www.w3.org/1998/Math/MathML">
                    <mrow>
                        <msup>
                            <mfenced>
                                <mrow>
                                    <mi>a</mi>
                                    <mo>+</mo>
                                    <mi>b</mi>
                                </mrow>
                            </mfenced>
                            <mn>2</mn>
                        </msup>
                    </mrow> 
                </math>
            </body>
        </html>

 2009-04-09 ScientificPad wrotes its first MathML document, I could open with OpenOffice Math :

  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd">
  <math xmlns="http://www.w3.org/1998/Math/MathML">
    <msup>
      <mfenced>
	<mrow>
	  <mi>a</mi>
	  <mo>+</mo>
	  <mi>b</mi>
	</mrow>
      </mfenced>
      <mn>2</mn>
    </msup>
  </math>

 2009-04-10 ScientificPad wrotes its first xhtml+MathML document, I could open with FireFox :

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html" charset="UTF-8"/>
        <title>MathML's Hello Square</title>
        <meta name="generator" content="ScientificPad, see http://www.scientificware.com"/>
    </head>
    <body>
        <p>This is a perfect square :</p>
        <p>
            <math xmlns="http://www.w3.org/1998/Math/MathML">
                <msup>
                    <mfenced>
                        <mrow>
                            <mi>a</mi>
                            <mo>+</mo>
                            <mi>b</mi>
                        </mrow>
                    </mfenced>
                    <mn>2</mn>
                </msup>
            </math>
        </p>
    </body>
</html>

 The TexMacs output I want :

  • Version 1.0.7.1 TexMacs
      <TeXmacs|1.0.7.1>
      <style|generic>
      <\body>
          This is a perfect square :
         <math|(a+b)<rsup|2>>
      </body>
      <\initial>
        <\collection>
          <associate|language|french>
        </collection>
      </initial>

 2009-04-10 ScientificPad wrotes its first TeXmacs document, I could open with TeXmacs :

<TeXmacs|1.0.7.1>

<style|generic>

<\body>
  This is a perfect square :

  <math|(a+b)<rsup|2>>
</body>

<\initial>
  <\collection>
    <associate|language|french>
  </collection>
</initial>