Copy link to clipboard
Copied
Hi,
I am using DITA 1.3 Concept to create a topic. There is a equation in it.
I initially insert the equation in element <equation-block> using the FrameMaker equation pod. FrameMaker create an element <EQUATION> which is a invalid element. So I add an element definition <equation> in the EDD and allow it to be a child element of <equation-block>.
The <equation> definition is:
Element (Equation): equation Attribute list Name: id Unique ID Optional Name: class String Optional
I also add a read/write rule for <equation>, like this:
element "image" { is fm equation element "equation"; }
When I save the concept topic with a equation, there always is a error message shown on the console:
XML Write Messages… Cannot export graphic or equation contents. Check the element mapping and description.
I have modified the read/write rules for several times, but this error message is always there.
If I colse the topic and reoped it again, the equation disappears. An error message is shown on the console too:
XML Read Messages (Document Instance) Cannot find the file () containing the imported graphic.
How to solve this?
Copy link to clipboard
Copied
re: …using the FrameMaker equation pod…
Is this the legacy FM equation editor (which may not render to XML) or the newer MathML (which is XML)?
Copy link to clipboard
Copied
Just doing a casual test, Basic HTML Publish path, the legacy FM Equation editor results in the equation being exported to HTML as a JPEG. I would expect the same result to XML; not a terribly useful XML object
Whereas the FM Help pages have extensive data on how MathFlow → MathML is exported to XML, for example:
“Note: You can also insert MathML equations in DITA 1.3 topics (topic, task, concept, reference, and troubleshooting.) A new element named, “mathml” is created when you insert a MathML equation.”
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I'm still confused about which equations dialog you are using.
If you see a panel like the one shown lower on the page at:
https://help.adobe.com/en_US/framemaker/2019/using/index.html#t=using-framemaker-2019%2Fuser-guide%2...
it's the legacy Equations dialog, and not the new MathML (MathFlow) dialog.
Documentation to the contrary notwithstanding, I wouldn't expect legacy equations to render to any sort of useful XML objects.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
re: …haven't use mathml till now. Maybe try it later
When you do, first check the status of:
https://tracker.adobe.com/#/view/FRMAKER-11189
“MathFlow EULA link isn't to an EULA anymore”
MathFlow (and apparently a trial version thereof) isn't pre-installed in FM. So the first use of it results in a bunch of dialogs, which don't work at the moment, due to, it appears, MathFlow becoming MathType, and its parent corporation changing.