<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Debbi,</p>
<p>I created an Oxygen XML Refactoring action based on XSLT to help
you with this:</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/oxygenxml/dita-refactoring-examples/tree/master/34%20Change%20Prefix%20in%20MathML%20Equation%20for%20DITA%20topics">https://github.com/oxygenxml/dita-refactoring-examples/tree/master/34%20Change%20Prefix%20in%20MathML%20Equation%20for%20DITA%20topics</a></p>
<p>Please see more details on your forum thread:<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/forum/post59058.html#p59058">https://www.oxygenxml.com/forum/post59058.html#p59058</a><br>
</p>
Regards,<br>
Radu<br>
<pre class="moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
<div class="moz-cite-prefix">On 8/12/20 6:37 PM, <a class="moz-txt-link-abbreviated" href="mailto:leipold@comcast.net">leipold@comcast.net</a>
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:003f01d670be$79fe89b0$6dfb9d10$@comcast.net">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Roboto;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:Roboto;color:black;background:white">Hello,
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:Roboto;color:black;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:Roboto;color:black;background:white">I
have an extremely large document to convert from Word to
Oxygen DITA. One of the biggest problems is equations, and
there are thousands of them.</span><span
style="font-size:10.0pt;font-family:Roboto;color:black"><br>
<br>
<span style="background:white">I found a way to export the
equation to from word MathML and get this:</span><br>
<span style="background:white"><mml:math xmlns:mml="</span></span><a
href="http://www.w3.org/1998/Math/MathML"
moz-do-not-send="true"><span
style="font-size:10.0pt;font-family:Roboto;color:#5D8FBD;border:none
windowtext
1.0pt;padding:0in;background:white;text-decoration:none">http://www.w3.org/1998/Math/MathML</span></a><span
style="font-size:10.0pt;font-family:Roboto;color:black;background:white">"
xmlns:m="</span><a
href="http://schemas.openxmlformats.org/officeDocument/2006/math%22%3E%3Cmml:msub%3E%3Cmml:mrow%3E%3Cmml:mi%3EC%3C/mml:mi%3E%3C/mml:mrow%3E%3Cmml:mrow%3E%3Cmml:mn%3E1%3C/mml:mn%3E%3Cmml:mi%3E%CF%95%3C/mml:mi%3E%3C/mml:mrow%3E%3C/mml:msub%3E%3Cmml:mtext"
moz-do-not-send="true"><span
style="font-size:10.0pt;font-family:Roboto;color:#5D8FBD;border:none
windowtext
1.0pt;padding:0in;background:white;text-decoration:none">http://schemas.openxmlformats.org/offic
... <mml:mtext</span></a><span
style="font-size:10.0pt;font-family:Roboto;color:black;background:white">> </mml:mtext><mml:mo>=</mml:mo><mml:mtext> </mml:mtext><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mtext> </mml:mtext><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mi>p</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mtext> </mml:mtext><mml:msqrt><mml:mfrac><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mtext> </mml:mtext><mml:mo>-</mml:mo><mml:mtext> </mml:mtext><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo><mml:mtext> </mml:mtext><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>w</mml:mi><mml:mo>,</mml:mo><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:msqrt></mml:math></span><span
style="font-size:10.0pt;font-family:Roboto;color:black"><br>
<br>
<span style="background:white">I insert that into the
equation editor and get this:</span><br>
<span style="background:white"><p>MathML inline:
<equation-inline></span><br>
<span style="background:white"><mml:math xmlns:mml="</span></span><a
href="http://www.w3.org/1998/Math/MathML"
moz-do-not-send="true"><span
style="font-size:10.0pt;font-family:Roboto;color:#5D8FBD;border:none
windowtext
1.0pt;padding:0in;background:white;text-decoration:none">http://www.w3.org/1998/Math/MathML</span></a><span
style="font-size:10.0pt;font-family:Roboto;color:black;background:white">"
xmlns:m="</span><a
href="http://schemas.openxmlformats.org/officeDocument/2006/math"
moz-do-not-send="true"><span
style="font-size:10.0pt;font-family:Roboto;color:#5D8FBD;border:none
windowtext
1.0pt;padding:0in;background:white;text-decoration:none">http://schemas.openxmlformats.org/offic
... /2006/math</span></a><span
style="font-size:10.0pt;font-family:Roboto;color:black;background:white">"></span><span
style="font-size:10.0pt;font-family:Roboto;color:black"><br>
<span style="background:white"><mml:mi>W</mml:mi><mml:mtext> </span><br>
<span style="background:white"></mml:mtext><mml:mo>=</mml:mo><mml:mtext> </mml:mtext><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mtext> </mml:mtext><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mi>p</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mtext> </mml:mtext><mml:msqrt><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mtext> </mml:mtext><mml:mfenced
open="[" close="]"
separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mtext> </mml:mtext><mml:mo>-</mml:mo><mml:mtext> </mml:mtext><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>w</mml:mi><mml:mo>,</mml:mo><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:msqrt></mml:math></span><br>
<span style="background:white"></equation-inline></p></span><br>
<br>
<span style="background:white">It looks fine in Author, but
has element errors that MMM:Ml must be declared. It will
not transform using the DITA Map PDF - based on HTML &
CSS scenario.</span><br>
<br>
<span style="background:white">I have gotten to the point
where I just do not know how to fix this. I realize that
the syntax isn't the same as:</span><br>
<br>
<span style="background:white"><m:math
display='inline'></span><br>
<span style="background:white"><m:semantics></span><br>
<span style="background:white"><m:mrow></span><br>
<span style="background:white"><m:msqrt></span><br>
<span style="background:white">...</span><br>
<span style="background:white">But with thousands of these,
I need the quickest way possible to get these equations in
a format that can transform. I thought I had it because it
finally looked right in Author, but I need to know how to
add the correct element type to get it to transform.</span><br>
<br>
<span style="background:white">Sorry if this topic has been
addressed before. I didn't find it.</span><br>
<br>
<span style="background:white">Thanks,</span><br>
<br>
<span style="background:white">Debbi</span></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Debbi Leipold | Mobile (410) 905-7948<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>