Sorry to interrupt you all. But I have so concerns using JEuclid for MathML.
I'm not sure if I have the permission to post here, but maybe you will
excuse my post if so.

I am not sure if using JEuclid is the right way to deal with MathML. As far
as I understand JEuclid transforms a MathML expression into an image.

Not exactly.
JEuclid renders MathML on Graphics2D object. Depending on the Graphics2D nature you can
output MathML as image or svn graphics or something else.

There is a custom PDFGraphics2D class in the FOP.
We use especially this PDFGraphics2D to output MathML directly into PDF.
The important moment here is that we insert MathML into PDF not as an image but we render MathML by means of font glyphs.

Sure, with JEuclid MathML could be inserted into PDF as an image as well: MathML could be rendered as SVG image and then inserted into PDF. But such transformation is redundant.

If
this is correct, than I would found this the wrong way in principle.
Wouldn't it be nicer if the MathML expression is converted into XSL:FO it
self?

It is impossible. XSL:FO does not support MathML spec. In other words, you can't render MathML by means of XSL:FO elements only.

I am not very in this field, but as far as I understand MathML (pm)
this should be the way to go. Or do I completely misinterpret something?

Regards

Norman Markgraf


--
Cheers,
Siarhei Baidun

Reply via email to