Re: [docbook] Mathml and xslt

From
Mansour <>
Date
2007-12-21T03:46:33+00:00
ID
Thread
Re: [docbook] Mathml and xslt
Bob, thank you for replying.
I don't think this will help. I can not convert the math to image and 
include it. I have tried the code on the page you gave to me and put it 
in this file:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
                    "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
[
<!ENTITY % MATHML.prefixed "INCLUDE">
<!ENTITY % MATHML.prefix "mml">
<!ENTITY % equation.content "(alt?, (graphic+|mediaobject+|mml:math))">
<!ENTITY % inlineequation.content
                "(alt?, (inlinegraphic+|inlinemediaobject+|mml:math))">
<!ENTITY % mathml PUBLIC "-//W3C//DTD MathML 2.0//EN"
        "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">
%mathml;
]>
<book>
<chapter>
<para> Testing MathML
<equation>
<title>My MathML example</title>
<mml:math>
  <mml:mrow>
    <mml:mo>&sum;</mml:mo>
    <mml:mn>4</mml:mn>
    <mml:mo>+</mml:mo>
    <mml:mi>x</mml:mi>
  </mml:mrow>
</mml:math>
</equation>
</para>

</chapter>

</book>



Still the pdf I am getting has no math.




Bob Stayton wrote:
> If you are using DocBook XSL to produce your output, you might start 
> with this section in my book about MathML:
>
> http://www.sagehill.net/docbookxsl/MathML.html
>
> Bob Stayton
> Sagehill Enterprises
> 
>
>
> ----- Original Message ----- From: "Mansour" <>
> To: <>
> Sent: Sunday, December 16, 2007 11:19 PM
> Subject: [docbook] Mathml and xslt
>
>
>> I am using xalan and I need to use mathml in my document. It modular 
>> document that consist of few other chunks. I am not able to 
>> successfully produce the pdf output. When I try I get the document 
>> but the equation is not there.
>> How can I get this equation to appear?
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: 
>> For additional commands, e-mail: 
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>