<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><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:Consolas;
panose-1:2 11 6 9 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;
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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]--></head><body bgcolor=white lang=EN-US link="#0563C1" vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:windowtext'>I will give this a try and let you know. Thanks!<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='color:windowtext'>From:</span></b><span style='color:windowtext'> oXygen-user <oxygen-user-bounces@oxygenxml.com> <b>On Behalf Of </b>Radu Coravu<br><b>Sent:</b> Thursday, August 13, 2020 12:52 AM<br><b>To:</b> oxygen-user@oxygenxml.com<br><b>Subject:</b> Re: [oXygen-user] Word equations to oXygen Equation editor<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>Hi Debbi,<o:p></o:p></p><p>I created an Oxygen XML Refactoring action based on XSLT to help you with this:<o:p></o:p></p><p><a 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><o:p></o:p></p><p>Please see more details on your forum thread:<o:p></o:p></p><p><a href="https://www.oxygenxml.com/forum/post59058.html#p59058">https://www.oxygenxml.com/forum/post59058.html#p59058</a><o:p></o:p></p><p class=MsoNormal>Regards,<br>Radu<br><br><o:p></o:p></p><pre>Radu Coravu<o:p></o:p></pre><pre>Oxygen XML Editor<o:p></o:p></pre><div><p class=MsoNormal>On 8/12/20 6:37 PM, <a href="mailto:leipold@comcast.net">leipold@comcast.net</a> wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:10.0pt;font-family:Roboto;background:white'>Hello, </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Roboto;background:white'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Roboto;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'><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"><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;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"><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;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'><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"><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;background:white'>" xmlns:m="</span><a href="http://schemas.openxmlformats.org/officeDocument/2006/math"><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;background:white'>"></span><span style='font-size:10.0pt;font-family:Roboto'><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><p class=MsoNormal><br><br><br><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>oXygen-user mailing list<o:p></o:p></pre><pre><a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a><o:p></o:p></pre><pre><a href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><o:p></o:p></pre></blockquote><p class=MsoNormal><br><br><o:p></o:p></p><pre><o:p> </o:p></pre></div></body></html>