Hi,
I realise I should have given you more detailed steps and also try first things on my side.
As penitence I will give the detailed set of steps below:
Let's start with a small example:
1) I have a DITA topic which has a small MathML equation in it:
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="sample">
<title>My title</title>
<body>
<p><mathml>
<m:math xmlns:m="
http://www.w3.org/1998/Math/MathML"
display="block">
<m:semantics>
<m:mrow>
<m:mrow>
<m:mi mathvariant="bold">a</m:mi>
<m:mo>=</m:mo>
<m:mfrac>
<m:mrow>
<m:mi mathvariant="bold">F</m:mi>
</m:mrow>
<m:mi>m</m:mi>
</m:mfrac>
</m:mrow>
</m:mrow>
</m:semantics>
</m:math>
</mathml></p>
</body>
</topic>
I create a small DITA Map, add a topicref to the topic and then use DITA OT 3.1 to publish to HTML5.
I look at the equivalent produced "topic.html" and the MathML equation is not there at all:
<div class="body">
<p class="p"></p>
</div>
2) I download this folder plugin from there:
and the plugin folder "org.dita-community.dita13.html" from there:
So you should have two folders "org.dita-community.common.xslt
" and
"org.dita-community.dita13.html"
each containing a plugin.xml and a bunch of folders and stylesheets.
Copy them to the "DITA-OT/plugins" folder. I'm using DITA OT 3.1 for testing this.
3) Edit the "org.dita-community.dita13.html/plugin.xml" and after the line which adds the XSLT customization for the XHTML output:
<feature extension="dita.xsl.xhtml" value="xsl/dita13Vocab2Html.xsl" type="file"/>
add this line which also adds the same customization for HTML 5 output:
<feature extension="dita.xsl.html5" value="xsl/dita13Vocab2Html.xsl" type="file"/>
I'm attaching a zip containing both plugins with the changes I suggested already made to the plugin.xml.
4) Run the DITA OT integrator, on Windows this would usually mean running in the DITA-OT folder the "bin/dita.bat - install" command.
5) Publish again, the result "topic.html" should now contain:
<div class="body">
<p class="p">
<math xmlns="
http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
<mrow>
<mi mathvariant="bold">a</mi>
<mo>=</mo>
<mfrac>
<mrow>
<mi mathvariant="bold">F</mi>
</mrow>
<mi>m</mi>
</mfrac>
</mrow>
</mrow>
</semantics>
</math>
</p>
</div>
Regards,
Radu