Page 1 of 1

Accelerating Webhelp Transformations with Equations

Posted: Mon Jun 13, 2016 6:35 pm
by dgallo
Hello,

Is there a way to accelerate the transformation of a ditamap that contains a large amount of mathml equations into webhelp? Currently it takes about 90 minutes to transform this type of ditamap...which is kind of crazy.

We are pointing to the mathjax plugin by adding <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/M ... _HTMLorMML"> </script> to the footer.html file which gets appended to the header of html files, but I would think this would have nothing to do with the actual transformation time.

Thanks,
Danielle

Re: Accelerating Webhelp Transformations with Equations

Posted: Tue Jun 14, 2016 10:49 am
by Radu
Hi Danielle,

This kind of latency could be explained if the DITA OT processing engine somehow needs to connect to the internet for each MathML image, for example to retrieve the MathML DTDs. If you disable the internet access before the publishing, does it fail?

Are you getting this latency when publishing from inside Oxygen or from outside it? Are you using one of the DITA OTs bundled with Oxygen or an external one.
Could you give me a small example of how the DITA content uses MathML images? For example are the images embedded in the DITA content or ar they referenced as separate MathML files?

Regards,
Radu

Re: Accelerating Webhelp Transformations with Equations

Posted: Tue Jun 14, 2016 1:24 pm
by dgallo
We experience this when publishing from inside of Oxygen when pointing to a modified open toolkit (2.x) on our desktop. No internet connection is required.

The equations are embedded into dita topics using the Mathml elements. We take equations from mathtype and paste them into oxygen. They render just fine.

Re: Accelerating Webhelp Transformations with Equations

Posted: Tue Jun 14, 2016 1:48 pm
by Radu
Hi Danielle,

Could you send a sample DITA project (not the entire one, just a map and a couple of topics with MathML in them) and the entire console output that you receive from the DITA OT console view to support@oxygenxml.com? It would give us more data to work with.

Also, can you reproduce the same delay using the DITA OT 2.x bundled with Oxygen? Because maybe you have customizations which could cause the delay problem.

Regards,
Radu