Hi,

i've testet converting MathML with JEuclid and the code from the MathMLElement.java from FOP to SVG but in most cases i get exceptions or warnings...

1. Most Warnings i get are like: "Warning element mpadded is not implemented" is there a known overview which MathML Elements are supportet by JEuclid?
2. Exceptions are mostly like:

Exception in thread "main" java.lang.NullPointerException
at org.apache.batik.svggen.SVGGeneratorContext.doubleString(Unknown Source)
   at org.apache.batik.svggen.SVGPath.appendPoint(Unknown Source)
   at org.apache.batik.svggen.SVGPath.toSVGPathData(Unknown Source)
   at org.apache.batik.svggen.SVGPath.toSVG(Unknown Source)
   at org.apache.batik.svggen.SVGShape.toSVG(Unknown Source)
   at org.apache.batik.svggen.SVGGraphics2D.fill(Unknown Source)
at org.apache.batik.ext.awt.g2d.AbstractGraphics2D.drawGlyphVector(Unknown Source) at net.sourceforge.jeuclid.element.MathOperator.paintCurlyDelimiterHorizontal(MathOperator.java:359) at net.sourceforge.jeuclid.element.MathOperator.paint(MathOperator.java:505)
   at net.sourceforge.jeuclid.element.MathOver.paint(MathOver.java:102)
   at net.sourceforge.jeuclid.element.MathOver.paint(MathOver.java:103)
at net.sourceforge.jeuclid.element.MathElement.paint(MathElement.java:688)
   at net.sourceforge.jeuclid.element.MathUnder.paint(MathUnder.java:102)
at net.sourceforge.jeuclid.element.MathElement.paint(MathElement.java:688) at net.sourceforge.jeuclid.element.MathElement.paint(MathElement.java:688) at net.sourceforge.jeuclid.element.MathRootElement.paint(MathRootElement.java:182) at net.sourceforge.jeuclid.element.MathRootElement.paint(MathRootElement.java:135)
   at net.sourceforge.jeuclid.MathBase.paint(MathBase.java:310)

Can someone help? Does someone know a better source for getting help? The JEuclid project seems to be idle...

Thanks

Dirk


Dirk Bromberg wrote:
Thanks for answers.

I'll have a look at JEuclid and the fop source.

Dirk

Jeremias Maerki wrote:
http://sourceforge.net/projects/jeuclid
FOP has a demo extension that uses JEuclid to convert MathML to SVG
internally.

On 31.03.2006 15:50:35 Dirk Bromberg wrote:
Hello,

[EMAIL PROTECTED] wrote:
Since MathML is XML and SVG is XML, the natural way to convert one to another, as I see it, is with with XSLT. Are you looking for a ready-made Java package with classes to produce a variety of SVG formats, or are you looking for a general approach?
i'm looking for some like "fop" but not for fo->pdf, but even for MathML->SVG.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to