Re: how to translate MathML

Wolfgang Jeltsch <[email protected]> Wed, 27 Oct 2004 14:11:10 +0200
Newsgroups gmane.text.docbook.db2latex.general
Message-ID <[email protected]>
--Boundary-00=_eB5fBmnYUkAU234
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Am Mittwoch, 27. Oktober 2004 01:41 schrieb James Devenish:
> [...]

> Could you supply a small DocBook file that demonstrates the problem,
> please? Regretfully, I have not had much time to work on DB2LaTeX since
> March this year; but hopefully your inquiry can be answered quickly.

Hello,

I hope the attached file is small enough. :-)

Best whishes,
Wolfgang

--Boundary-00=_eB5fBmnYUkAU234
Content-Type: text/xml;
  charset="iso-8859-1";
  name="mathtest.xml"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="mathtest.xml"

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.0//EN"
              "http://www.docbook.org/xml/mathml/1.0/dbmathml.dtd">
<book>
  <title>Math Test</title>
  <chapter>
    <title>The Math Test</title>
    <para>Presentation:</para>
    <informalequation>
      <mml:math>
        <mml:mroot>
          <mml:mrow>
            <mml:mo>(</mml:mo>
            <mml:mtable>
              <mml:mtr>
                <mml:mtd>
                  <mml:msup>
                    <mml:mi>&omega;</mml:mi>
                    <mml:mrow>
                      <mml:mi>log</mml:mi>
                      <mml:mo>&ApplyFunction;</mml:mo>
                      <mml:mi>n</mml:mi>
                    </mml:mrow>
                  </mml:msup>
                </mml:mtd>
                <mml:mtd>
                  <mml:msup>
                    <mml:mi>e</mml:mi>
                    <mml:mrow>
                      <mml:mn>2</mml:mn>
                      <mml:mo>&ApplyFunction;</mml:mo>
                      <mml:mi>&pi;</mml:mi>
                      <mml:mo>&ApplyFunction;</mml:mo>
                      <mml:mi>i</mml:mi>
                    </mml:mrow>
                  </mml:msup>
                </mml:mtd>
              </mml:mtr>
              <mml:mtr>
                <mml:mtd>
                  <mml:mi>a</mml:mi>
                  <mml:mo>&InvisibleTimes;</mml:mo>
                  <mml:mi>b</mml:mi>
                </mml:mtd>
                <mml:mtd>
                  <mml:mn>3</mml:mn>
                </mml:mtd>
              </mml:mtr>
              <mml:mtr>
                <mml:mtd>
                  <mml:mfrac>
                    <mml:msub>
                      <mml:mi>x</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:mn>1</mml:mn>
                  </mml:mfrac>
                </mml:mtd>
                <mml:mtd>
                  <mml:mn>0</mml:mn>
                </mml:mtd>
              </mml:mtr>
            </mml:mtable>
            <mml:mo>)</mml:mo>
          </mml:mrow>
          <mml:mrow>
            <mml:mi>a</mml:mi>
            <mml:mo>+</mml:mo>
            <mml:mi>b</mml:mi>
          </mml:mrow>
        </mml:mroot>
      </mml:math>
    </informalequation>
    <para>Content:</para>
    <informalequation>
      <mml:math>
        <mml:apply>
          <mml:divide/>
        </mml:apply>
      </mml:math>
    </informalequation>
  </chapter>
</book>

--Boundary-00=_eB5fBmnYUkAU234--


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click