Please guide us as to how this could be added to the word document. We tried using InsertHtml method of the DocumentBuilder class, but it adds the latex equation as text only. We want it to be displayed as a proper equation in the Word document.
Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word does.
Could you please attach valid input html which contains latex equation along with expected output Word document here for our reference? Please manually create your expected Word document using Microsoft Word and attach it here for our reference. We will then provide you more information on this along with code.
I am attaching a snapshot of the equation output as seen in the browser. Our requirement is to write this equation in a Word document. Is it possible using Aspose.Words ; please guide us as to how do we go about it.
Thanks for sharing the detail. OfficeMath class represents an Office Math object such as function, equation, matrix or alike. OfficeMath can contain child elements including runs of mathematical text, bookmarks, comments, other OfficeMath instances and some other nodes.
In this version of Aspose.Words, OfficeMath nodes do not provide public methods and properties to create or modify a OfficeMath object. In this version you are not able to instantiate Aspose.Words.Math nodes or modify existing except deleting them.
We had already logged a feature request as WORDSNET-6987 to create OfficeMath Object. You will be notified as soon as it is supported. We apologize for your inconvenience.