Dear M. Shafie,

First of all, our best wishes for the new year.

We are facing an issue with MathML image plugin (all XXE versions); we insert MathML equations in our DocBook-4 documents using the MathML image plugin.

This works fine in general, but gives sometimes incorrect or difficult to read results (from a mathematical point of view). As an example, I attached a small file containing a MathML equation (*eq_morlt_1.mml*).

*eq_image_mathml.jpg*: The equation looks very good when edited in XMLMind using XXE MathML editor (very efficient & easy to use BTW).

*eq_image_db4.jpg*: But looks ugly when inserted as an image in a DocBook-4 document.

Not surprisingly (but unfortunately), the result in our final PDF document looks like the second image.

Is there any way to improve this situation ?
Many thanks for your help.
Philippe.
<?xml version="1.0" encoding="US-ASCII"?>
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML";
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
      xmlns:xs="http://www.w3.org/2001/XMLSchema";
      xmlns:xlink="http://www.w3.org/1999/xlink";
      xmlns:ns="http://www.w3.org/1998/Math/MathML";>
  <mrow>
    <mrow>
      <msub>
        <mi>g</mi>
        <mi>t</mi>
      </msub>
      <mrow>
        <mo>(</mo>
        <msub>
          <mi>f</mi>
          <mi>c</mi>
        </msub>
        <mo>)</mo>
      </mrow>
    </mrow>
    <mo>=</mo>
    <mrow>
      <msup>
        <mi>e</mi>
        <mrow>
          <mrow>
            <mo>-</mo>
            <msup>
              <mrow>
                <mo>(</mo>
                <mfrac>
                  <mrow>
                    <msub>
                      <mi>2f</mi>
                      <mi>c</mi>
                    </msub>
                    <mo>t</mo>
                  </mrow>
                  <mi>k</mi>
                </mfrac>
                <mo>)</mo>
              </mrow>
              <mi>2</mi>
            </msup>
          </mrow>
          <mo>log2</mo>
        </mrow>
      </msup>
      <msup>
        <mi>e</mi>
        <mrow>
          <msub>
            <mi>2&#960;if</mi>
            <mi>c</mi>
          </msub>
          <mi>t</mi>
        </mrow>
      </msup>
    </mrow>
  </mrow>
</math>

<<attachment: eq_image_mathml.jpg>>

<<attachment: eq_image_db4.jpg>>

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to