Copy link to clipboard
Copied
Is there any way to easily port legacy framemaker documents from equations to MathML? The reason I ask is because Framemaker equations appear as gifs in Epub, and the MathML format would look much better. Re-entering all the equations would be a bit of work, however. thanks!
Copy link to clipboard
Copied
AFAIK, nothing is available for this.
You could create an XSLT transformation to take extracted MIF content (converted to XML via Scott Prentice's MIFML utility available at Leximation: MIFML ) and transform the MIF math commands to the equivalent MathML, but it would be quite a major undertaking.
Copy link to clipboard
Copied
re: Re-entering all the equations would be a bit of work, however.
And would introduce some risk of transcription error.
Another approach might be to extract the FM equations from the PDF of the document, and re-import them as something that survives as text and vector into ePub (which MathML evidently does). This format might be SVG or EPS, but test it first.
Open each equation page the PDF in a vector editor such as Adobe Illustrator. Delete all except the equation. Save-as SVG or EPS. Re-import that in the original FM document. This, alas, is probably the same amount of effort, just lower risk of error. But frankly, my bet is that neither SVG nor EPS survive as text/vector into ePub.