Hello,

I have an xml Doucment which contains MathML 
(http://www.w3.org/1998/Math/MathML/).
The strcuture is: 
...
body ==> p for text, program for programcode, formula, ... 
...
A little example:
     <formula>
       <math mode="display">
          <mrow>
            <mi>I</mi>
            <mrow>
              <mo>(</mo>
              <mi>x</mi>
              <mo>)</mo>
            </mrow>
            <mo>=</mo>
            <mi>F</mi>
            <mo stretchy="false">(</mo>
            <mi>x</mi>
            <mo stretchy="false">)</mo>
            <mo>+</mo>
            <mi>C</mi>
          </mrow>
        </math>
     </formula>

Now I search for a long time a good way to convert also the mathml syntax in 
pdf.
I found several solutions for this but every makes some trouble.
- JEuclid http://sourceforge.net/projects/jeuclid/
- Fixidea http://mainline.essi.fr/wiki/bin/view/Fixidea/WebHome

Now I discovered that FOP will support MathML now or in the future 
(http://xml.apache.org/fop/design/extending.html#status-wip).
I load the source code from the cvs but I get errors if I compiling the code. 
He can't find classes in the packages:
- org.apache.fop.fo.properties and (e.g. TextTransform)
- org.apache.fop.fonts.base14 (e.g. Helvetica) because he does not exist there.
This classes does also not exist if I load the source code as zip or as 
snapshot and so on.
Can anybody help me?

But my main problem is the convertion to pdf with formulas. In the mentioned 
source code exist now three new classes:
MathMLElement.java, MathMLElementMapping.java, MathMLObj.java which uses 
JEuclid.
But what is the sense of this classes? How can the example class 
ExampleXML2PDF.java ever use them?

I would be very happy to get a solution for this problem. Every code snippet is 
very welcomed.

Micha


-- 
eBay - Jetzt besser einkaufen!
Ueber 1. Mio. Angebote. Startpreise ab EUR 1,-
http://www.freenet.de/tipp/shopping/ebay

Reply via email to